Thread Tools Display Modes
04-25-09, 12:34 PM   #1
Blayloc
A Kobold Labourer
Join Date: Mar 2008
Posts: 1
New User, Need Help with scaling widescreen

I have read through the faq and found the post about editing the Nui.lua file with

["scale"] = 1,
["hScale"] = {your horizontal scale setting},
["vScale"] = {your vertical scale setting},


However.. I am confused with WHAT I need to set. Maybe I am an idiot but I don't understand the post.

I want to enable scaling so I can make things a little smaller but I don't know what to use for the values in the lua file.


I have a 22" WS monitor and I am in 1680x1050 if that helps. Could anyone help me out with what I need to input into the lua to allow for the use of the scaling option?
 
04-25-09, 02:40 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
I suspect that they are currently set to 1.0 so setting them to 0.5 would make them half the size and 1.5 half a size bigger.

Trying numbers between those values and you should find a value that suits you.
 
04-25-09, 03:08 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
As the post says... your screen size divided by the "target" screen size...

so the default hScale would be 1680 / 2560 = 0.65625 and the default vScale would be 1050 / 1600 = 0.65625

Since 1680 / 1050 = 1.6 then the vScale is modified as 0.65625 * 0.95 = 0.6234375

So.... hScale = 0.65625 and vScale = 0.6234375 would be the starting point to make the screen look the way it does by default. Then to make the UI smaller still, you would have to make those values smaller... start by decreasing them both by the same amount until the size is about where you want it, then tweak the vScale up or down to make it taller or shorter until the square buttons are square again, etc.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » New User, Need Help with scaling widescreen

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