So I have a scene that goes from a single, to multiple viewports in Ogre, and contains static text boxes. When I add two viewports the text obviously is half the size (half the height since I have two viewports on top of each other). This causes a problem cause now the text is 2 times harder to read.
I tried adjusting the height of the individual static text elements but no luck. Is there any better way to make the height of the text within a widget twice the height without changing the font? (since changing the font would increase the width as well, which I don't want to do).
Am I making any sense?
Multiple Viewports in Ogre Makes Text Unreadable
Moderators: CEGUI MVP, CEGUI Team
Multiple Viewports in Ogre Makes Text Unreadable
Syntasoft Games
www.syntasoft.com
www.syntasoft.com
- spannerman
- Home away from home
- Posts: 330
- Joined: Wed Jan 12, 2005 12:06
- spannerman
- Home away from home
- Posts: 330
- Joined: Wed Jan 12, 2005 12:06
I really think you should do a bit of research into Cegui's positioning and sizing system. Make sure you understand this bit here.
As you can see, by design UnifiedAreaRect is made of both relative and absolute values (scale and offset). So trying to use setMetricsMode does not make any sense with regards to your problem.
As you can see, by design UnifiedAreaRect is made of both relative and absolute values (scale and offset). So trying to use setMetricsMode does not make any sense with regards to your problem.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests