Button Text Formatting

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Rellik
Just popping in
Just popping in
Posts: 5
Joined: Thu Sep 22, 2005 04:55

Button Text Formatting

Postby Rellik » Fri Oct 21, 2005 02:50

Hi guys, i'm facing a problem with the TLButton widget we're all of my buttons have the possibility of having either short or long lines of text on them. I was wondering if there is any possible way to set the Text's y offset or have a vetical formatting applied to the button's text?

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Button Text Formatting

Postby lindquist » Fri Oct 21, 2005 03:55

It should be fairly simple to customize the look'n'feel to allow this.
Either create a new type that does it explicitly, or add a formatting property to control the text component


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 13 guests