Resize the StaticText window after line-wrap

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

ebiztiger
Just popping in
Just popping in
Posts: 1
Joined: Wed Nov 22, 2006 03:27

Resize the StaticText window after line-wrap

Postby ebiztiger » Thu Mar 29, 2007 04:20

I have the following code which displays a user's input into a static text window. It wraps the line when the text is getting long. Does CEGui has a auto-resize so the hight of the static text window increases when line wraps?

wMsg= getChildWindow("Win/TextMessage");
wMsg->setText(wInput->getText());
wMsg->setProperty("HorzFormatting", "WordWrapLeftAligned");

Thanks.
JW

Return to “Help”

Who is online

Users browsing this forum: No registered users and 15 guests