![]() |
RibbonBar Question |
Post Reply ![]() |
Author | |
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() Posted: 13 April 2006 at 4:31pm |
I'm adding 3 controls to a RibbonBar group, using 16X16 bitmaps from ImageManager. The third control in the group is always aligned to the right of the first two instead of at the bottom of a vertical list, like I see in the cj RibbonBar sample. Is there a way to control the height property of the RibbonBar? (when compared next to each other, the cj RibbonBar is slightly "higher" than my RibbonBar).
|
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
Additional info... Doesn't matter if using an icon with the three controls or not, same result. Am using DockingManager. Have set the SetCommandBars property. Doesn't help.
|
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
Desired look: Undesired look: |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
do you change size of large buttons? the height calculated from size of large buttons. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
The CommandBar points to an ImageManager for its icons. The ImageManager does not have anything other than 16X16 icons. Plus, at one point I had set the RibbonBar icon size (I can't remember the name of the Action) to 28X28, but I have since commented out that block AND created a new ImageManager object (due to the need to rebuild the ImageManager object every time I upgrade) that does not have anything larger than 16X16. So, the CommandBar/RibbonBar should only be seeing 16X16 icons at this point. |
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
Oleg, I tried adding the following: "CommandBar.Options.SetIconSize True, 32, 32" And I added one 32X32 icon to ImageManager (in addition to all of the 16X16 icons that were already there), pointing one of the controls on the RibbonBar to the new 32X32 icon. Result: still the undesired view (see above), and the control pointing to the 32X32 icon takes up one "column" of the RibbonBar, but the 32X32 icon is displayed as kind of a "squished" 16X16 icon.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
I sure you still have CommandBar.Options.SetIconSize True, 28, 28 line somethere. Find it and delete. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
DDJJ ![]() Senior Member ![]() Joined: 13 December 2004 Status: Offline Points: 143 |
![]() ![]() ![]() ![]() ![]() |
Oleg, you are good! Found, deleted...problem solved. Thanks for your help! Dan
|
|
![]() |
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 |