Page 1 of 1

[BUG] Tooltip Text Wrapping?

Posted: Mon Aug 18, 2008 16:02
by Jamarr
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?

Posted: Sat Oct 18, 2008 22:52
by Pompei2
Just add a newline ('\n') in the tooltip text. or in the layout file just press enter. Works fine for me.

Posted: Wed Oct 22, 2008 18:21
by Jamarr
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.