Hello!
I'm developing a DPI aware application and I want to increase the size of the buttons and icons in the quick access toolbar.
When I set the ImageSizeSmall property on the toolbarsmanager it scales the command buttons properly in QAT but the configuration button remains small.
How can I increase the size of the QAT configuration button and its icon?
I made the following sample to demonstrate my problem:public partial class Test : Form { private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager toolbarManager;
public Test() { InitializeComponent(); this.Size = new Size(600, 400); } private void Test_Load(object sender, EventArgs e) { toolbarManager = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(); toolbarManager.DockWithinContainer = this; var tool = new ButtonTool("Button1"); toolbarManager.Tools.Add(tool); var tabGroup = new RibbonGroup("Key2", "TabItem1"); var tab = new RibbonTab("Key1", "Tab1"); tab.Groups.Add(tabGroup); toolbarManager.Ribbon.Tabs.Add(tab); toolbarManager.Ribbon.QuickAccessToolbar.AddRemoveTool(tool, 0); toolbarManager.Style = ToolbarStyle.Office2010; toolbarManager.Office2007UICompatibility = false; toolbarManager.Ribbon.FileMenuStyle = FileMenuStyle.ApplicationMenu; toolbarManager.Ribbon.Visible = true; toolbarManager.Style = ToolbarStyle.ScenicRibbon; toolbarManager.ImageSizeSmall = new Size(32, 32); } }
Hi Gabor,
I attached a sample that utilizes DrawFilter and CreationFilters to draw a new larger image into the QAT button.
Let me know if you have further questions.
Regards,
Ari Shaposhnik