Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  cbpporter
Messages: 1217
Registered: September 2007
Senior Veteran
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?
Previous Topic: [solved] MenuBar item spacing too low on the right side
Goto Forum:
  


Current Time: Fri May 26 18:52:40 CEST 2017

Total time taken to generate the page: 0.02438 seconds