Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 2:10 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Seeing some oddities
PostPosted: Thu Mar 22, 2012 9:51 pm 
Offline

Joined: Thu Mar 22, 2012 9:48 pm
Posts: 3
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).


Top
 Profile  
 
 Post subject: Re: Seeing some oddities
PostPosted: Fri Mar 23, 2012 12:09 pm 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
could you share some code snippit?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group