forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
using the "Tip" field in the designer I'm not able to break a line with the usual '\n' at runtime. By using CTRL+T I've seen the '\' become '\\'.
Instead everything is OK using widget.Tip("...\n...")
Is there a code able to break the line in designer?
OK, addressed by altering all Text fields in layout designer to be able to store '\1' prefix for Qtf text.
Therefore you can now use any QTF in tooltip, just prepend the text with '\1'. Holds true for other labels as well, e.g. you can now easily use QTF for Button label in layout designer.
Unfortunately, change is too spread across sources, therefore I cannot provide the quick patch here - you have to wait day or two until rc2 is released.
forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
luzr wrote on Tue, 20 February 2007 11:13
OK, addressed by altering all Text fields in layout designer to be able to store '\1' prefix for Qtf text.
Therefore you can now use any QTF in tooltip, just prepend the text with '\1'. Holds true for other labels as well, e.g. you can now easily use QTF for Button label in layout designer.
Unfortunately, change is too spread across sources, therefore I cannot provide the quick patch here - you have to wait day or two until rc2 is released.