Print Page | Close Window

[solved] Can you use different width 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=16575
Printed Date: 21 November 2024 at 4:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] Can you use different width Icons
Posted By: rmcmanamy
Subject: [solved] Can you use different width Icons
Date Posted: 12 April 2010 at 12:50pm
I have a case where I want a split button popup control that has an icon that is 96 wide x 24 tall where the rest of the toolbar icons are 24x24.  Is this possible at all?  If I set the width of the split button it doesn't make the icon any bigger, it just leaves a bunch of empty space.
 
VB6 with ActiveX Command Bars 13.3.1


-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0




Replies:
Posted By: rmcmanamy
Date Posted: 13 April 2010 at 4:52pm
Stupid, Stupid, Stupid me.  We had set the return value wrong for the control we were adding.  If you do it right you can just use the SetIconWidth for the specific control.

-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0



Posted By: rmcmanamy
Date Posted: 24 January 2018 at 11:03am
In case anyone is having problems with Icons Not Displaying Properly when you try to set the Width to a larger width then the default Codejock has had a bug in the 18.2 and other releases that will shrink the height instead of making the control wider.  The last version that it worked properly in is 17.3.0 that I know of.

-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0



Posted By: olebed
Date Posted: 24 January 2018 at 1:55pm
Hello,

We have already fixed drawing non square icons in CommanBar/Ribbon for next release v18.3 which will be soon.

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