Quantcast
Wierd "aspect ratio" problem with just nUI - WoWInterface
 
Thread Tools Display Modes
02-14-11, 04:16 PM   #1
bollwerk
A Deviate Faerie Dragon
Premium Member
Join Date: May 2009
Posts: 15
Wierd "aspect ratio" problem with just nUI

I'm not sure why or how this happened, but all of a sudden my nUI is "squished". Please see the 2 attached pictures to see what I mean. Please note that in the first image, I have captured from the top edge of my monitor. I did not cut off the top part. The UI is drawing the text beyond the top edge. Also note the buttons in the 2nd image are "skinny" instead of square like they used to be.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	ui_prob1.PNG
Views:	547
Size:	66.2 KB
ID:	5757  Click image for larger version

Name:	ui_prob2.PNG
Views:	540
Size:	82.4 KB
ID:	5758  
 
02-14-11, 07:40 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Did you change display resolutions?
__________________

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/
 
02-15-11, 02:44 AM   #3
Relalenh
A Defias Bandit
 
Relalenh's Avatar
Join Date: Feb 2011
Posts: 3
I've been having the same problem, not with the top bar, but more so with the pet/aspect bar shifting around. It's not a problem for me to use /nui movers to keep putting it back in a reasonable place though. I have recently switched to a new monitor/resolution, was there something I should have done that I missed?
 
02-15-11, 06:17 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The pet/aspect bar problem is a completely different issue... that's being caused by a Blizzard change in how those bars work. It's already fixed in nUI6, but won't be fixed in nUI5 as it requires a rewrite of those bars.
__________________

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/
 
02-15-11, 05:22 PM   #5
bollwerk
A Deviate Faerie Dragon
Premium Member
Join Date: May 2009
Posts: 15
Originally Posted by spiel2001 View Post
Did you change display resolutions?
Not exactly. I'm using a custom windowed resolution 2130x1600, but I've been using this resolution for about 6 months and not had a problem until recently. If I switch to a "normal" resolution like 2560x1600 it looks fine. Unfortunately, my play setup necessitates using the custom resolution of 2130x1600. As much as I love nUI, I'd have to change to something else before I change my resolution. I really don't want to do that though. =(
 
02-15-11, 10:03 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
See this post: http://www.wowinterface.com/forums/s...ad.php?t=20917

I fixed a bug in the scaling system that is likely why you're seeing this now. The fact that you're using a non-standard resolution makes is impossible for nUI to correctly scale the vertical axis. You can, however, use the info in that post to work out the correct scaling and manually set it.
__________________

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/
 
02-15-11, 10:53 PM   #7
bollwerk
A Deviate Faerie Dragon
Premium Member
Join Date: May 2009
Posts: 15
Thanks. I was able to fix the problem using those instructions. However, the numbers I ended up using are WAY different than what I came up with using your formulas. =)

I'm using 0.63 for hscale and 0.60 for vscale. Using your formulas, I came up with 0.83 and 0.80. Maybe my math was bad?
 
02-16-11, 05:56 AM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It's possible... those formulas are based on having either a standard PC 4:3 aspect ratio or a HD wide screen aspect ratio. When you start getting into random aspect ratios, all bets are kinda off.
__________________

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: Bug Reports » Wierd "aspect ratio" problem with just nUI

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