-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FrameWidth tiling #56
Comments
Hi @EReeves You need to update the texture metadata to tell GeonBit.UI the width and height of the frame segment inside the texture (in percents). For example take a look at this file: The 0.2, 0.2 means that 20% of the texture size is dedicated to its frame. If you want a wider frame you might want to set it to something like 0.35, maybe even 0.4. Just make sure not to set it to 0.5 or more, apparently it causes a crash :o Let me know if it worked. Thanks :) |
I did that, tried everything from 0 to 5 and a bunch of other things too, maybe it's a localized issue, I'll have another play when I get time and see if I can figure out what's happening. Thanks |
Yeah, looks like it was a localized issue, I tried it on a blank project and it worked flawlessly, I ended up removing and reimporting all the GeonBit.UI Content. That's fixed it. Thanks for your help. |
I can't seem to get my own panel textures working, I've tried lots of different frame sizes. I even tried using a 64x64 texture like in the default themes.
Is there anything I should be double checking?
The text was updated successfully, but these errors were encountered: