Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Minor Ribbon Group Text Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Minor Ribbon Group Text Error

 Post Reply Post Reply
Author
Message Reverse Sort Order
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Minor Ribbon Group Text Error
    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++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 645
Post Options Post Options   Thanks (1) Thanks(1)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
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.156 seconds.