Hello,
I seem to be having an issue with the size of the tab control buttons. The height on them makes it so the bottom 1/3 of the text is cut off.
I have also noticed a simular issue with the static text box. This I can get around by setting the height bigger then it seems like it needs to be. But if I adjust it down there is always this "Large" gap above the letters. (I would say around 4-5 pixels.)
Any ideas?
Problem with Tab Control buttons and Static Text
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Problem with Tab Control buttons and Static Text
What glyphs do you have defined in your font?
It may be that your font contains glyphs with accents or what have you, and the extra space is required so the accents do not get cut off; a side effect is that when a line of text is rendered that does not contain any such glyphs, the text appears to be shifted downwards by a few pixels.
CE.
It may be that your font contains glyphs with accents or what have you, and the extra space is required so the accents do not get cut off; a side effect is that when a line of text is rendered that does not contain any such glyphs, the text appears to be shifted downwards by a few pixels.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Problem with Tab Control buttons and Static Text
Thanks for the info.
I am useing the tahoma.ttf file that came with the TaharezLook stuff.
If I am understanding what your saying then the system takes the "Tallest" glyph and uses that for a default height?
Instead of finding the height of the glyphs used in the text box?
I am useing the tahoma.ttf file that came with the TaharezLook stuff.
If I am understanding what your saying then the system takes the "Tallest" glyph and uses that for a default height?
Instead of finding the height of the glyphs used in the text box?
Re: Problem with Tab Control buttons and Static Text
Does anyone have any ideas about the height of the tab control?
Is there any way I can "Set" that to be like 2 pixels taller then what ever font is being used?
CE's answer does explain the static text box... but not the tab's buttons.
Is there any way I can "Set" that to be like 2 pixels taller then what ever font is being used?
CE's answer does explain the static text box... but not the tab's buttons.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 5 guests