![]() |
Button icon size in ribbon |
Post Reply
|
| Author | |
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
Topic: Button icon size in ribbonPosted: 22 February 2007 at 6:47am |
|
Is there any way to control programmatically whether a ribbon button uses a 32 pixel icon or a 16 pixel one? I’d like to load both 32 and 16 pixel versions of all icons that I display (so that the tooltips use the large sizes and look consistent), but for aesthetic reasons force the ribbon to use the smaller icons for some commands. Any chance of adding a flag that fixes the icon height rather than letting the ribbon decide for itself?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 February 2007 at 10:55am |
|
Hello,
You can call SetStyle method.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 February 2007 at 11:15am |
|
Many thanks! SetStyle(xtpButtonIconAndCaption) does the trick. However, it is not obvious from the documentation that this would work--the big icons have captions too!
|
|
![]() |
|
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 |