![]() |
Ribbon QuickAccessToolbar Icon Size |
Post Reply ![]() |
Author | |
wrecks ![]() Groupie ![]() Joined: 14 July 2015 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello,
I can't reproduce this. Can you reproduce it in our samples? What version of library do you use ? Regards, Oleksandr Lebed |
|
![]() |
|
wrecks ![]() Groupie ![]() Joined: 14 July 2015 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Try to change RibbonSample to get the same issue as in your application and then write what exactly have you changed. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |