Print Page | Close Window

RibbonBar Question

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=3997
Printed Date: 15 September 2025 at 4:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar Question
Posted By: DDJJ
Subject: RibbonBar Question
Date 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).



Replies:
Posted By: DDJJ
Date Posted: 13 April 2006 at 5:59pm

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.

 



Posted By: DDJJ
Date Posted: 13 April 2006 at 6:07pm

Desired look:

Undesired look:



Posted By: Oleg
Date Posted: 13 April 2006 at 8:03pm

do you change size of large buttons? the height calculated from size of large buttons.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: DDJJ
Date Posted: 13 April 2006 at 9:25pm

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.



Posted By: DDJJ
Date Posted: 14 April 2006 at 8:48am

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.

 



Posted By: Oleg
Date Posted: 14 April 2006 at 10:36am

I sure you still have

CommandBar.Options.SetIconSize True, 28, 28 line somethere.

Find it and delete.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: DDJJ
Date Posted: 14 April 2006 at 11:57am

Oleg, you are good!  Clap

Found, deleted...problem solved.

Thanks for your help!

Dan

 




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