![]() |
Ribbon Theme only showing small icons |
Post Reply ![]() |
Author | |
larryp ![]() Groupie ![]() Joined: 15 January 2005 Location: United States Status: Offline Points: 61 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
artsd ![]() Groupie ![]() Joined: 07 January 2007 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
artsd ![]() Groupie ![]() Joined: 07 January 2007 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |