Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Custom room title containing variable doesn't align correctly
New Topic New Poll Post Reply
Poster Message
Nuntar
Level: Smitemaster
Avatar
Rank Points: 4590
Registered: 02-20-2007
IP: Logged

File: PCT room title.png (118 KB)
Downloaded 98 times.
License: Public Domain
icon Custom room title containing variable doesn't align correctly (+1)  
The screenshot shows the title bar for two rooms in an EP level. The second one has a custom title that includes a variable, in order to count the number of rooms cleared.



Note that the scroll for the second level has the text correctly centred, but the white space is shunted left. I'm guessing this is because at some stage, the algorithm didn't account for a variable name being replaced with the variable contents when estimating the length of the text?

____________________________
50th Skywatcher

[Last edited by Nuntar at 07-21-2021 02:42 PM]
07-21-2021 at 02:41 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged
icon Re: Custom room title containing variable doesn't align correctly (+1)  
I think it might be the case of name length - once it can't grow any more the title is stuck to the left side of the scropl and overflows to the right.

____________________________
My website | Facebook | Twitter
07-21-2021 at 02:47 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Custom room title containing variable doesn't align correctly
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.