Dear All:
The Editbox only had the LeftAligned. Can let it have the RightAligned ?
How to do it?
ttom
Editbox had the RightAligned ?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
I wasn't sure about this, but checking the code it seems that the LeftAligned text formatting is hard coded (in the editbox window renderer, not the editbox widget itself).
To achieve right aligned text you'd need to write a replacement window renderer for the editbox.
I think this should be made configurable in the future
CE.
I wasn't sure about this, but checking the code it seems that the LeftAligned text formatting is hard coded (in the editbox window renderer, not the editbox widget itself).
To achieve right aligned text you'd need to write a replacement window renderer for the editbox.
I think this should be made configurable in the future

CE.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests