Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(681 b)
Download
Updated: 03-11-13 06:38 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:03-11-13 06:38 PM
Created:08-31-11 07:32 AM
Downloads:2,170
Favorites:17
MD5:
UIScaler
Version: 5.2.0.4
by: Haleth [More]
This addon calculates the optimal UI scale for your resolution and automatically applies it when you log in, or the UI scale is changed by the game (or you).

While this is useful for anyone to get a true 1:1 pixel ratio, the main purpose of this addon is to support higher resolutions normally unsupported by Blizzard by allowing the UI to be scaled below the minimum threshold of 64%.

It also takes into account the fact that changing the UI scale while in combat might cause taint, and thus delays doing so until combat is over. This is particularly useful for Mac users who can easily switch back and forth between fullscreen and windowed mode.

How is this different from similar addons?

UIScaler will automatically calculate the optimal scale for your resolution, so you don't have to. It also avoids taint and re-applies the optimal scale even when the game changes the UI scale on its own.

Credits

Aprikot for suggesting the scaling method used in this addon (using the SetScale() instead of SetCVar() function).
5.2.0.4

Bump ToC for patch 5.2.

5.0.4.4

Bump ToC for patch 5.0.4.
Switch to new version numbering; [patch].[addon build]

1.2

Fixed an extremely stupid and obvious C stack overflow when using a 'normal' resolution.

1.1

If the resolution is supported by WoW, the correct CVar method is now used.

1.0

Initial release
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
5.0.4.4
681B
Haleth
09-04-12 12:37 PM
1.2
874B
Haleth
11-22-11 06:18 AM


Post A Reply Comment Options
Unread 03-12-13, 06:43 AM  
Glanville
A Murloc Raider
 
Glanville's Avatar

Forum posts: 5
File comments: 2
Uploads: 0
file location

I'm not sure where to install this file, and as I use nUI I'm concerned about a conflict. I use a wide screen, but would like to be able to scale the UI if possible. So wanna give this a try . Question is.. is it safe to install, and where do I install if so?
Glanville is offline Report comment to moderator  
Reply With Quote
Unread 09-04-12, 12:47 PM  
jlrm365
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 85
Uploads: 3
Thanks for the tweak / update.
It's a handy addon.
jlrm365 is offline Report comment to moderator  
Reply With Quote
Unread 02-07-12, 10:18 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 520
Uploads: 9
Originally Posted by Nibelheim
It's because of Anchoring. I'm not sure how extensive Grid's anchoring options are, but from what I recall they're not too extensive. So it may be up to you to write your own code to properly anchor Grid's frame to an anchor point / location of your choosing.
Ahh, yeah that makes sense now. Didn't understand what the actual issue was. Thanks a lot, Nib/Haleth!
Last edited by Qupe : 03-28-12 at 06:38 AM.
Qupe is offline Report comment to moderator  
Reply With Quote
Unread 02-07-12, 09:39 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1540
File comments: 2315
Uploads: 50
Originally Posted by Qupe
I probably just don't understand why this is happening (bear with me, I'm sorry =/), but even after I adjust the location of the Grid frame on screen, when I swap characters or log in/out the placement reverts to its previous location (this doesn't happen all the time, seems random).

I mainly just don't understand that if I've moved the frame why the resolution (if I'm getting this right) seems to change its visual location over and over. I'm just guessing it's because Grid is probably the only addon I have that isn't parented in some way or another to another addon/screen location.
It's because of Anchoring. I'm not sure how extensive Grid's anchoring options are, but from what I recall they're not too extensive. So it may be up to you to write your own code to properly anchor Grid's frame to an anchor point / location of your choosing.
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 02-07-12, 08:32 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 520
Uploads: 9
I probably just don't understand why this is happening (bear with me, I'm sorry =/), but even after I adjust the location of the Grid frame on screen, when I swap characters or log in/out the placement reverts to its previous location (this doesn't happen all the time, seems random).

I mainly just don't understand that if I've moved the frame why the resolution (if I'm getting this right) seems to change its visual location over and over. I'm just guessing it's because Grid is probably the only addon I have that isn't parented in some way or another to another addon/screen location.
Qupe is offline Report comment to moderator  
Reply With Quote
Unread 02-07-12, 01:09 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1170
File comments: 1130
Uploads: 30
It doesn't move anything, it simply changes the scale of the UI so based on which position Grid uses it might appear to change on the screen.
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 02-07-12, 03:35 AM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 520
Uploads: 9
Is there any way to prevent this addon from changing the location of certain mods (Grid2 as my main and only example)?
Qupe is offline Report comment to moderator  
Reply With Quote
Unread 11-22-11, 06:18 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1170
File comments: 1130
Uploads: 30
From your description it seems that's what this addon does already: It determines the optimal UI scale automatically.

Otherwise, try this:

http://www.wowinterface.com/download...ibUIScale.html
Last edited by Haleth : 11-22-11 at 06:51 AM.
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 11-20-11, 09:13 AM  
Bornabe
A Flamescale Wyrmkin
 
Bornabe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 285
Uploads: 6
Would there be a way to build this into something that could recognize a user's resolution upon login and adjust the scale based on their desired setting per that resolution?

I use multiple resolutions and currently simply enable this add-on with my setting in it for my laptop display and disable it when I use my external 27" display. Works fine for me, but was thinking maybe there would be a way to build this into my UI Compilation for my users to not have to make any changes, so I could set the UIscaling for them using this add-on and it do the right scaling for them automatically.

Probably not possible, but worth a shot, lol.
Bornabe is offline Report comment to moderator  
Reply With Quote
Unread 09-21-11, 10:05 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1170
File comments: 1130
Uploads: 30
Does this happen without other addons enabled?
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 09-21-11, 03:19 AM  
Tonyleila
An Onyxian Warder
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 1367
Uploads: 33
errors

I get this errors if the addon is enabled. I don't know if this is normal

Code:
48x C stack overflow:
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
...:
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
Code:
4x Interface\FrameXML\FloatingChatFrame.lua:847: C stack overflow:
Interface\FrameXML\FloatingChatFrame.lua:132: in function `FloatingChatFrame_Update':
Interface\FrameXML\FloatingChatFrame.lua:72: in function `FloatingChatFrame_OnEvent':
<string>:"*:OnEvent":2: in function <[string "*:OnEvent"]:1>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
...:
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
<in C code>: in function `SetCVar'
UIScaler-1.1\scaler.lua:10: in function <UIScaler\scaler.lua:4>
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Tonyleila is online now Report comment to moderator  
Reply With Quote
Unread 08-31-11, 10:16 AM  
jlrm365
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 85
Uploads: 3
Thumbs up "quality of life"

This seems like a very good "quality of life" addon.

I play on a laptop / smaller screen, so will give this a whirl.
jlrm365 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: