Print Page | Close Window

Ribbon item not centered

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=7883
Printed Date: 02 March 2025 at 4:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon item not centered
Posted By: dcsoft
Subject: Ribbon item not centered
Date 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
 



Replies:
Posted By: kstowell
Date 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<


Posted By: dcsoft
Date Posted: 30 August 2007 at 2:29pm
Much appreciated Kirk.  Good luck during your office move.
 
-- David


Posted By: Oleg
Date Posted: 03 September 2007 at 6:59am
Thanks, David, nice suggestion.
Centering added for 11.2 release.


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


Posted By: dcsoft
Date Posted: 03 September 2007 at 10:51pm
Great news, thanks Oleg! 


Posted By: aggressor
Date 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


Posted By: Oleg
Date Posted: 05 October 2007 at 10:45am
Just call pGroup->SetControlsCentering();

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


Posted By: dcsoft
Date Posted: 09 October 2007 at 3:43pm
Works great, thanks again!  :-)



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