I have a popupMenuTool that I am using as a context menu. The tool is set to display as a toolbar. All the tools on this menu are button tools that have a caption and no image. I've set the tools to display as Text Only, which works fine. What I would now like to do is increase the font size for all the tools within this menu.
I understand that all tools are restricted to being the same font size in a menu, but that's fine as I want them all to be the same just bigger.
Any idea how I can achieve this?
Hi,
You could try to set the font size of the tools in the popupmenu like this:
popupmenuTool.Settings.Appearance.FontData.SizeInPoints=15;
Let me know if this is solving your issue or you have any further questions.
Regrdas,
Stefaniya
Thanks for the reply.
That works fine if the PopupStyle is PopupStyle.Menu, but if I change it to PopupStyle.Toolbar the suggested setting seems to be ignored. Also note these are tools with a caption and no image and set to display as TextOnly for the ToolDisplayStyle.
To set this only for that toolbar you can use:
ultraToolbarsManager1.Toolbars["toolbar"].Settings.ToolAppearance.FontData.SizeInPoints = 15;
For each toolbar:
ultraToolbarsManager1.ToolbarSettings.ToolAppearance.FontData.SizeInPoints = 15;
I have created a support ticket for you with the following number: CAS-48367-B6NLQ7. I will research why popupmenuTool.Settings.ToolAppearance.FontData does not work when the popup style is toolbar and will update you there.
Regards,
- Stefaniya
Have you tried to change different appearances font data, e.g.
If yes and there is no result please attach a small sample representing your issue and I will research the issue.