Print Page | Close Window

[solved] v17.0 Office 2010 ribbon theme problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22844
Printed Date: 24 December 2024 at 11:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] v17.0 Office 2010 ribbon theme problem
Posted By: Marco1
Subject: [solved] v17.0 Office 2010 ribbon theme problem
Date 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.




-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)



Replies:
Posted By: markr
Date Posted: 12 January 2016 at 3:42pm
The Office 2007 and Windows 7 themes exhibit this problem as well.

- Mark R.


Posted By: olebed
Date Posted: 03 March 2016 at 7:21am
Hello,

This issue has already been fixed in version 17.1.

Regards,
 Oleksandr Lebed


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


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



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