Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.0.0 RC
-
None
Description
If you have a 24x24 SVG icon and set the icon.width and icon.height properties to 16 to achieve a 16x16 icon the result will be blurry. If you don't use the icon properties and hack around with the control padding and spacing it will be scaled properly but that approach isn't exactly intuitive. The scaling also works properly with an IconImage that has its sourceSize set to 24x24 and its width and height set to 16x16. Maybe the Icon object needs to gain a sourceSize property instead of assuming it from the width and height?