Home » U++ Library support » Menus&Toolbars » Some troubles with ToolBar & QTF
Some troubles with ToolBar & QTF [message #48109] |
Thu, 18 May 2017 16:39  |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
I have a toolbar and use Add to add flat button to it, like:
bar.Add("\1Select entry point. Current configuration:&[* Active file in editor]", CtrlImg::Home(), Callback());
I have 3 problems with this:
1. The tool tip, once it is QTF enabled, gets a bigger font than non QTF tooltips. How to guarantee the exact same size.
2. If I use [Select entry point. Current configuration:]&[* Active file in editor], with an extra set of [], the characters get switched over to Cyrillic. I tried escaping : but doesn't work.
3. How to add a button with text on it. Preferably with left or right aligned text relative to the image. Text just changes the tooltip. Label ruins the entire layout. Do I need to add an external ToolButton?
|
|
|
Re: Some troubles with ToolBar & QTF [message #48342 is a reply to message #48109] |
Sat, 24 June 2017 16:04  |
 |
mirek
Messages: 14258 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Thu, 18 May 2017 16:39I have a toolbar and use Add to add flat button to it, like:
bar.Add("\1Select entry point. Current configuration:&[* Active file in editor]", CtrlImg::Home(), Callback());
I have 3 problems with this:
1. The tool tip, once it is QTF enabled, gets a bigger font than non QTF tooltips. How to guarantee the exact same size.
bar.Add("\1[g Select entry point. Current configuration:&[* Active file in editor]", CtrlImg::Home(), Callback());
2. If I use [Select entry point. Current configuration:]&[* Active file in editor], with an extra set of [], the characters get switched over to Cyrillic. I tried escaping : but doesn't work.
Escaping should work. Can you post what have you tried?
[code]
3. How to add a button with text on it. Preferably with left or right aligned text relative to the image. Text just changes the tooltip. Label ruins the entire layout. Do I need to add an external ToolButton? [/quote]
What about using Button?
Mirek
|
|
|
Goto Forum:
Current Time: Wed May 14 22:35:51 CEST 2025
Total time taken to generate the page: 0.00367 seconds
|