I have added the zoom controlls to my application command bar.
I used the following code snipped to add them.
var Control = ribbonGroup.Add(XTPControlType.xtpControlButton, Constants.MENUID_ZOOM_ZOOM_OUT, "");
Control.Style = XTPButtonStyle.xtpButtonAutomatic;
Control.IconId = Constants.ICONID_ZOOM_ZOOM_OUT;
I have added couple of tools like this.
At the run time the icons seems to be blured and too small. eventhoguh I set the height and the width of the icon it shows blured icons.
But if check it on the PDF exchange editor , it shows nicely as below,
Can someone tell me whats missing here?
To fix the blured Icon
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: To fix the blured Icon
Please try 24x24 size for icons. Editor uses that size.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: To fix the blured Icon
Thank you for your response
I tested it after changing the icon size. below shows how it looks I tested after increased the control width to 30 as well. then it looks like below, the icons are too close
Please let me know whats wrong and why i cant achive the nice view like pdf excahnge editor here?
I tested it after changing the icon size. below shows how it looks I tested after increased the control width to 30 as well. then it looks like below, the icons are too close
Please let me know whats wrong and why i cant achive the nice view like pdf excahnge editor here?
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: To fix the blured Icon
I guess this problem is related to:
viewtopic.php?t=39126
So there is the same question - how do you use Editor's icons in that 3rdparty Ribbon UI?
Does this Ribbon-implementation provide the draw-your-own-icon-callback and do you override it?
viewtopic.php?t=39126
So there is the same question - how do you use Editor's icons in that 3rdparty Ribbon UI?
Does this Ribbon-implementation provide the draw-your-own-icon-callback and do you override it?
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.