multiple lines in a static text ?

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

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

multiple lines in a static text ?

Postby Pompei2 » Fri Oct 20, 2006 14:24

Hello.

Is there a simple possibility to write multiple lines in a static text ? (from the layout file)

I tryed to write "\n" and tryed a "real" newline, none worked.

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

Postby CrazyEddie » Sat Oct 21, 2006 08:35

For 0.5.x series code you can use actual text nodes (rather than a 'Value' attribute):

Code: Select all

<Property Name="Text">Line 1
Line 2
Line 3</Property>


For oldver versions, you can't ;)

CE.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sat Oct 21, 2006 14:54

ho thank you that's cool :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 31 guests