Two font size related questions

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Noman
Just popping in
Just popping in
Posts: 3
Joined: Tue Jun 27, 2006 06:35

Two font size related questions

Postby Noman » Tue Aug 08, 2006 20:00

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 :)

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Two font size related questions

Postby CrazyEddie » Wed Aug 09, 2006 08:22

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

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Wed Aug 09, 2006 13:17

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.

Noman
Just popping in
Just popping in
Posts: 3
Joined: Tue Jun 27, 2006 06:35

Postby Noman » Thu Aug 10, 2006 08:35

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 27 guests