Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon item not centered
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon item not centered

 Post Reply Post Reply
Author
Message
dcsoft View Drop Down
Newbie
Newbie


Joined: 27 August 2007
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon item not centered
    Posted: 27 August 2007 at 6:50pm
Hello, I have a ribbon looking like this:
 
 
The large (32x32) Import icon is not centered within the Certificate group.  Is this a bug?  How do I get it to be centered?  The problem is the Group Label "Certificate" is wider than the Icon "Import".
 
Calling CXTPRibbonGroup::SetControlsCentering() has no effect as this centers the control vertically, and not horizontally.
 
Thanks,
David Ching
Microsoft Visual C++ MVP
 
Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2007 at 2:27pm
Hi David,
 
Sorry for the delay, support times are slower this week due to vacations and office relocations. We are looking into this now and should have an answer for you shortly.
 
Regards,
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS<
Back to Top
dcsoft View Drop Down
Newbie
Newbie


Joined: 27 August 2007
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2007 at 2:29pm
Much appreciated Kirk.  Good luck during your office move.
 
-- David
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: 03 September 2007 at 6:59am
Thanks, David, nice suggestion.
Centering added for 11.2 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dcsoft View Drop Down
Newbie
Newbie


Joined: 27 August 2007
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2007 at 10:51pm
Great news, thanks Oleg! 
Back to Top
aggressor View Drop Down
Groupie
Groupie


Joined: 15 August 2007
Location: United States
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote aggressor Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2007 at 9:08am
Originally posted by oleg oleg wrote:

Thanks, David, nice suggestion.
Centering added for 11.2 release.
 
Can you explain how i can enable this?
Thanx
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: 05 October 2007 at 10:45am
Just call pGroup->SetControlsCentering();
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dcsoft View Drop Down
Newbie
Newbie


Joined: 27 August 2007
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote dcsoft Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2007 at 3:43pm
Works great, thanks again!  :-)
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.063 seconds.