Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [solved] v17.0 Office 2010 ribbon theme problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] v17.0 Office 2010 ribbon theme problem

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


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post Topic: [solved] v17.0 Office 2010 ribbon theme problem
    Posted: 12 January 2016 at 1:41pm
There's still a problem with the descenders of ribbon group captions in Office 2010 theme.
See my picture: The "g" of "Editing is cut off (marked red) in your RibbonSample (and in our app as well).

... and the vertical line (marked red) is too long. Should stop in the ribbon part.


Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2016 at 3:42pm
The Office 2007 and Windows 7 themes exhibit this problem as well.

- Mark R.
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2016 at 7:21am
Hello,

This issue has already been fixed in version 17.1.

Regards,
 Oleksandr Lebed
Back to Top
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2016 at 2:27pm
I'm stuck on 17.0. Can you identify the 17.1 fix? Is it something I could pull back to 17.0 easily?
--Mike
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2016 at 3:18pm
Hello mrmathis,

To get right ribbon's group caption heigh you need to change  
Source/Ribbon/Themes/XTPRibbonThemeResource.cpp
in method CXTPRibbonThemeResource::DrawGroup
> rcGroupCaptionText.DeflateRect(XTP_DPI_X(2), XTP_DPI_Y(2));
 to
> rcGroupCaptionText.DeflateRect(XTP_DPI_X(2), 0);

For remove excessive side line  in Office2010 theme  you should  change colors in INI files
Source/Styles/Office2010/res/BlackTheme.ini
Source/Styles/Office2010/res/BlueTheme.ini
Source/Styles/Office2010/res/SilverTheme.ini

in section [Window]
>BorderActive3  set  the same as BorderActive2
>BorderInactive3 set  the same as BorderInactive2

Then rebuild Source\Styles\Office2010\Office2010.dsw  to update Office2010.dll

(svn revisions r17534 and r17535)

Regards,
Oleksandr Lebed
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.172 seconds.