Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - RibbonBar Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RibbonBar Question

 Post Reply Post Reply
Author
Message
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post Topic: RibbonBar Question
    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).
Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2006 at 6:07pm

Desired look:

Undesired look:

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DDJJ View Drop Down
Senior Member
Senior Member


Joined: 13 December 2004
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote DDJJ Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2006 at 11:57am

Oleg, you are good!  Clap

Found, deleted...problem solved.

Thanks for your help!

Dan

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.