Quantcast Making a pixel perfect UI on 2560x1440 resolution? - WoWInterface
Thread Tools Display Modes
11-24-18, 02:06 PM   #1
kngslc
A Kobold Labourer
Join Date: Nov 2018
Posts: 1
Lightbulb Making a pixel perfect UI on 2560x1440 resolution?

I have for quite a while been annoyed with how my UI is setup with a lot of weakauras and such being in weird positions like 16.5 etc, and i've started looking into UI scale, currently i'm using ElvUI which has the default "Lowest allowed UI scale" on 0.64, and to make it as close as pixel perfect i would have to make that scale 0.53333333.

Is there a way i can make my UI look the exact same again after changing the slider? When i change to 0.5333 everything turns really small which is no surprise, but how can i scale everything in my UI up to how it were before so it looks the exact same? Any math or anything i can do to calculate this?

And this is all i have to do to make the pixel perfect ui right? Just change the slider from 0.64 to 0.53333 and leave the wow default slider turned off? :-)

Any help much appreciated!
  Reply With Quote
11-24-18, 10:54 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,690
What I do:
Lua Code:
  1. SetCVar('useuiscale', 1)
  2. SetCVar('uiscale', 1)
  3. local _, height = GetPhysicalScreenSize()
  4. UIParent:SetScale(768 / height)

Then if you feel like something is too small to read (like the default windows), you scale them up one-by-one, maybe something like this:
Lua Code:
  1. for _, frame in next, {
  2.     'CharacterFrame',
  3.     'TradeFrame',
  4.     -- etc
  5. } do
  6.     _G[frame]:SetScale(1.5)
  7. end
  Reply With Quote
11-29-18, 06:53 PM   #3
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 497
Originally Posted by kngslc View Post
I have for quite a while been annoyed with how my UI is setup with a lot of weakauras and such being in weird positions like 16.5 etc, and i've started looking into UI scale, currently i'm using ElvUI which has the default "Lowest allowed UI scale" on 0.64, and to make it as close as pixel perfect i would have to make that scale 0.53333333.

Is there a way i can make my UI look the exact same again after changing the slider? When i change to 0.5333 everything turns really small which is no surprise, but how can i scale everything in my UI up to how it were before so it looks the exact same? Any math or anything i can do to calculate this?

And this is all i have to do to make the pixel perfect ui right? Just change the slider from 0.64 to 0.53333 and leave the wow default slider turned off? :-)

Any help much appreciated!
I run ElvUI and yes you need to do that. You want the lowest allowed UI to be 0.53.

Once that is done you will have to adjust your UI; change your sizes etc. Once you do it will be pixel perfect going forward.

I did the same thing; I was for the longest time running with UI scale for 1080 monitor and when I made jump to 0.53 it was much better. I had easier time lining things up and such. It did suck having to resize my whole UI but it was worth it in the end.

I would do it all over again if I had to.
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » UI Screenshots, Feedback and Design Discussion » Making a pixel perfect UI on 2560x1440 resolution?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off