|
Ok so I just started using TWL with Slick, and I'm seeing some odd behavior. I imported some fonts, and the seem to load fine etc. But for some reason if I create a label with them the label size is always 0 (all references). if I get the font and getEM() through a label object it report 0. but the sizes are definetely set in the font file when I imported and they display properly. I'm also seeing that the widths/heights of all the buttons/labels I create via themes are not set. I tried using a border texture, and then adding text, but it wont resize properly to the text, I have to manually set the width/height of the object for the borders to conform properly. (Have a feeling it has to do with calculating font sizes).
|