View Single Post
05-31-21, 03:26 PM   #4
Felplacerad
A Defias Bandit
Join Date: Sep 2019
Posts: 2
Originally Posted by p3lim View Post
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

I know this is a bump but i would like to know how to make this work even after a reload. As soon as i reload the game the settings goes back to default.
  Reply With Quote