[Gambas-bugtracker] Bug #1887: ToolTip field not saving linefeeds correctly.

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Sep 26 16:14:16 CEST 2020


Comment #2 by Bruce STEERS:

Just tested a few gtk/qt '\n' / '\r' scenarios for you.

Seems gtk only uses the '\r' and '\n' doesn't work
and on qt the '\n' works and the '\r' doesn't !

bloody typical eh?  lol

Got it working on both gtk and qt using '\r\n' when manually setting in the code.
So i guess that's a  sVar = Replace(sVar, gb.Lf, gb.CrLf) somewhere then.

Thanks Ben


More information about the Bugtracker mailing list