Pixel Perfection for Specific Resolution
View Single Post
04-11-10, 07:17 PM
A Chromatic Dragonspawn
Join Date: Dec 2006
It doesn't ignore the scale. It just (optionally, per element) multiplies the value of a real pixel so that it fits the size of a full ui pixel and won't be anti-aliased.
Both solutions are acceptable, but the fact is not everybody is going to have their UI set to this scale. Also, just as importantly, changing the UI scale modifies your entire UI. When switching to a normalized UI scale I had to drastically modify every individual element of my UI to be ~20% smaller and in a position to match the old.
If I'm releasing an addon that requires pixel-perfect borders, should I tell all of my users to change every UI element's scale and position, or should I emulate the value of a pixel in my own UI and leave everything else alone?
I'd always choose the latter.
View Public Profile
Send a private message to Waverian
Find More Posts by Waverian