Print Page | Close Window

Minor Ribbon Group Text Error

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=23425
Printed Date: 26 April 2024 at 8:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Minor Ribbon Group Text Error
Posted By: cpede
Subject: Minor Ribbon Group Text Error
Date Posted: 25 August 2017 at 7:27am
I noticed a difference in the Office Ribbon theme, between Office and XTPToolkit.

When Ribbon Groups are collapsed (making the app. Window very narrow), the group text is not displayed, when the alternative group icon is displayed; - this seems to be correct.

However when a Ribbon Gallery is collapsed, the group text is displayed along with the group icon text.
This is when the pGallery->SetStyle(xtpButtonIconAndCaptionBelow); is used.

It also seems that the gallery is not resized correctly to be one icon wide as the other groups, when
pGallery->SetStyle(xtpButtonIconAndCaptionBelow); is used.
Add line
pControlGallery->SetStyle(xtpButtonIconAndCaptionBelow);
in line 530 MainFrame.cpp in RibbonControls sample.



-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 04 September 2017 at 2:06am
Any comments from CJ?

-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: cpede
Date Posted: 22 November 2017 at 3:50am
In v18.2.0 you can still see the problem in the sample, if you set the Autosize icons feature.

-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



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