Print Page | Close Window

Ribbon Theme only showing small icons

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=5957
Printed Date: 04 October 2024 at 7:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Theme only showing small icons
Posted By: larryp
Subject: Ribbon Theme only showing small icons
Date Posted: 02 January 2007 at 12:42am
Just upgraded to 10.4 from 10.3.1 and had a couple problems when using the ribbon theme.
 
I had to add "Ribbon\Styles\Office2007Blue\Office2007Blue.rc" to my resource includes to get the theme to work, but now I have a problem with the ribbon theme only showing small icons on the toolbars and menus. 
 
When I rotate through all of my themes, they all show large icons except for the ribbon them.  I change the theme with a call to CXTPPaintManager::SetTheme(theme);
 
Any ideas?
 
Larry



Replies:
Posted By: artsd
Date Posted: 09 January 2007 at 12:00am
Can't help you but I can confirm the same problem with my program and even with the RibbonSample. I am new to the toolkit so don't about pre 10.4 version.
 
To prove problem:
1) run RibbonSample and create a toolbar
2) add Edit-Paste command to a toolbar
3) enable Large icons on the Options tab of the Customize dialog
4) the toolbar will grow in size but it still uses the small icon
 
I verified that the SMALL and LARGE toolbar resource and PNG files are correct and they appear to be.
 


Posted By: Oleg
Date Posted: 09 January 2007 at 1:19am
Hello,
 
Yes, we added option
pCommandBars->GetPaintManager()->m_bAutoResizeIcons = FALSE;
 
think for 10.4.1 it will be FALSE for RibbonTheme also by default.


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


Posted By: artsd
Date Posted: 09 January 2007 at 1:28am

Your solution does fix the problem of not using the large icons in the toolbar but, in my case, it also made the quick access icons and the Help About icon grow in size instead of using the correct small icons.

Is there any way to make the toolbars use large icons but make the quick access area use the small icons?
 
I guess a work-around would be to give different IDs to the large and small icons/toolbar values but that seems kludgey.
 



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