Page 1 of 1

Two font size related questions

Posted: Tue Aug 08, 2006 20:00
by Noman
Hi all

I've been using CEGUI in my project for a while, and now im in the phase of making the transition from functional to pretty.
For some reason, i have two StaticText widgets with the same font, but the text is displayed in a slightly different size, which looks funny (and VERY unproffesional). Anyone know why this happens / what can i do? Im using ogre as my renderer if it matters.

Also, I would like to know if there is a way to tell the text in the StaticText widget to stretch and be drawn as large as possible.

Thanks :)

Re: Two font size related questions

Posted: Wed Aug 09, 2006 08:22
by CrazyEddie
Noman wrote:For some reason, i have two StaticText widgets with the same font, but the text is displayed in a slightly different size, which looks funny (and VERY unproffesional). Anyone know why this happens / what can i do? Im using ogre as my renderer if it matters.

You wouldn't happen to be able to provide some kind of screenshot to clarify the issue, would you? It would help us to fully understand the issue, and maybe spot the cause.

Noman wrote:Also, I would like to know if there is a way to tell the text in the StaticText widget to stretch and be drawn as large as possible.

If you mean to have a font that dynamically changes it's point size, we do not currently have such functionality.

CE

Posted: Wed Aug 09, 2006 13:17
by Rackle
In one of my posts (maybe in the Tools forum) I provided links to services that provide free image hosting. Image Shack was one of them (I think). That information should be stickied/wikied somewhere; an example of a problem helps a lot to figure out what could have gone wrong.

Posted: Thu Aug 10, 2006 08:35
by Noman
Ya... I was thinking about imageshack. Anyway, here it is.

This is my config screen in the layout editor :
Image

This is how it looks like in game :
Image

See that Up / Arrow up buttons are different from the others...
Note that in the layout editor i designed it for the same resolution as i launched the game in.