[BUG] Tooltip Text Wrapping?

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

[BUG] Tooltip Text Wrapping?

Postby Jamarr » Mon Aug 18, 2008 16:02

Ok, so I'm using the "default tooltip" and when I have tooltips with a lot of text, they end up getting cut off. It seems that tooltips are restricted to a single line of text? And if the tooltip fully extends to one side of the window, the remaining text simply gets chopped off.

Is it possible to adjust the .looknfeel or c++ to make the tooltips multiline?

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

Postby Pompei2 » Sat Oct 18, 2008 22:52

Just add a newline ('\n') in the tooltip text. or in the layout file just press enter. Works fine for me.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Postby Jamarr » Wed Oct 22, 2008 18:21

Thanks. It seems the real problem lies within the CELayoutEditor.

Using the CELayoutEditor, adding '\n' to the tooltip text has no effect; this would only work in the code, but having content in the compiled program is something I want to avoid. Additionally, if you add newlines manually to the layout file as you suggest, the next time you save that layout from CELayoutEditor it just removes all of the newlines.

I'll add this as a bug in mantis for the CELayoutEditor; hopefully it's easy to fix.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 10 guests