Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Text Box Shrink / Position

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
sotrain515




Joined: 17 May 2010
Posts: 39
Location: Connecticut

PostPosted: Tue Sep 17, 2013 6:37 am    Post subject: Text Box Shrink / Position Reply with quote

Hello. I recently re-did all the text boxes in my game to Auto-Size after manually sizing them at first (to basically make it easier going forward to create new ones). I noticed that when you Auto-Size with either 4 or 6 lines (possibly both, I forget exactly now, sorry) there is no "optimal" position you can move the text box to where the bottom edge will be flush with the bottom of the screen. The two closest options have the box either a few pixels above or a few below the bottom of the screen.

Now, this may be intended, I don't know; maybe it's unusual to do text boxes like this (i.e. re-sizing them and then moving them to the bottom of the screen)? I do it because I have HUD stuff that I like to remain visible during the text boxes. I just wanted to mention it in case it wasn't expected behavior.

My "fix" is to change from Auto-Size for those specific text boxes where this happens and manually set the Shrink. You can always get it to work that way.
Back to top
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Tue Sep 17, 2013 8:01 am    Post subject: Reply with quote

Yeah, I think that right now, turning off auto-size is the only way to work around that issue.

The problem is that box position and box shrink are specified in increments of 4 pixels, but auto-size is based on the actual line-height of the text, which is 10 pixels.

Eventually, we might improve the text box format to allow pixel-perfect editing of position, and/or anchoring the box relative to the bottom edge instead of relative to the top. -- but I can't make any promises as to when that will happen.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group