Print Page | Close Window

Forcing icon size?

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=13677
Printed Date: 28 February 2025 at 7:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Forcing icon size?
Posted By: JoeW
Subject: Forcing icon size?
Date Posted: 13 March 2009 at 1:44pm
On the ribbon bar, if I have a 16x16 and 32x32 image for a command, is there any way to force the button to layout using the small or large icons?
 
I tried adding IconSize="16,16" as an attribute to a button in my XML layout, but it still is laid out as a 32x32 button.  It's used in more than one place and so I don't have the option of deleting the 32x32 image.  I'd like to not have to create a duplicate ID and image just to do this.  It seems as if there should be a way to do it.  I'm using v. 12.02.
 
Thanks.



Replies:
Posted By: Oleg
Date Posted: 16 March 2009 at 7:30am
Hi,
Set Style of button to some xtpButtonIcon.


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



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