How to prevent png buttons to be scaled

I trying to made my own image for button based on icon set (small). I saved button as PNG but no matter how size I made, button is resized down. When I copy image of original image, it was 21x21 px. My PNG 21x21 px image looks different than button from library. Any chance to place image without scaling?

Are you making an icon set or using a standalone PNG image?

If it's an icon set, what does the XML look like?

Also, what is your system DPI set to, as that can play a part.

It's standalone PNG.

...and it's 100% scale /default (in system).

Please zip up the PNG icon you've made and also a screenshot of what's happening and I'll take a look.

button_and_preview.zip (2.29 KB)

wgray3.png is image
preview.png is preview (shows few more buttons from metro set)

Does turning off Preferences / Toolbars / Appearance / Scale Toolbar button images when larger than standard size fix it?

Yes, thank you! :slight_smile: