View Single Post
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,710
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