Text alignment on top of button

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

saurabh
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Sep 28, 2009 19:06

Text alignment on top of button

Postby saurabh » Wed Oct 21, 2009 19:29

Hi:

How can i set the text alignment on top of buttons...
Suppose i say that text should appear on right side or left side or middle... Is there any way to specify that....

Thanks
Saurabh

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

Re: Text alignment on top of button

Postby CrazyEddie » Thu Oct 22, 2009 08:53

Hi,

It's an ability that may or may not be available depending on the looknfeel skin in use. If it's not available, it's easily added int he XML there. Generally you might look for a property named "HorzLabelFormatting" (this is what it's called in Taharez, anyway).

CE.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests