Print Page | Close Window

Ribbon QuickAccessToolbar Icon Size

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23308
Printed Date: 27 November 2024 at 1:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon QuickAccessToolbar Icon Size
Posted By: wrecks
Subject: Ribbon QuickAccessToolbar Icon Size
Date Posted: 04 April 2017 at 11:20am
I have both 16x16 and 32x32 icons for all my commands.  But if the user uses "Add to Quick Access Toolbar" on a 32x32 icon (such as "Import Data" in the snapshot), a 32x32 icon gets added to the Toolbar, and is truncated because it's too big.  How can I convince CommandBars to use the 16x16 icon instead?

Alternatively, is there an event that fires when "Add to Quick Access Toolbar" is executed?  If so, I could look at the icons and change the size with QuickAccessControls(i).SetIconSize.

Note that "Customize Quick Access Toolbar" works fine and automatically uses the 16x16 icons.  It is only "Add to Quick Access Toolbar" where I have a problem.




Replies:
Posted By: olebed
Date Posted: 05 April 2017 at 2:45pm
Hello,

I can't reproduce this.  Can you reproduce it in our samples?
What version of library do you use ?

Regards,
 Oleksandr Lebed


Posted By: wrecks
Date Posted: 07 April 2017 at 10:55am
I am using Codejock.CommandBars.17.2.0

I have the RibbonSample.exe sample, and it does not exhibit the behavior I see in my application.  However, many of the icons appear pixelated, so I think there may be automatic scaling going on in the demo, whereas I have two sizes of each icon.




Posted By: olebed
Date Posted: 01 May 2017 at 1:58pm
Hello,

Try to change RibbonSample to get the same issue as in your application  and then write what exactly have you changed.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net