Go Back   WowAce Forums > Addon Chat > Frameworks > Ace3
Ace3 Ace3 framework discussion

Reply
 
Thread Tools
Old 08-16-2009   #1
Cyprias
Junior Member
 
Join Date: Jun 2009
Posts: 75
Unhappy Options hug left side after changing option

I have a problem with my options screen that only happens at resolutions of 1280x720 & 1280x768 but not 1280x800, 1440x900 or 1680x1050. I run at 1280x768 cause I can fraps comfortably at this resolution.


When I first open the options screen it looks normal.


But once I change a option everything moves to the left side of the window.


Then when I change tabs then switch back the screen looks normal again.


This problem isn't limited to my addon, but any addon using AceConfigDialog. (I've tested RatingBuster, OneBag3 and VisualHeal)
Here's VisualHeal looks normal.


Then when I click on one of the opts it changes to



Does anyone else experence this problem at these resolutions?
Cyprias is offline   Reply With Quote
Old 08-16-2009   #2
Phanx
Seal Cub Clubbing Club
 
Phanx's Avatar
 
Join Date: May 2005
Location: United States
Posts: 8,135
Default Re: Options hug left side after changing option

It's probably just a combination of your screen resolution, your UI scale, and imprecise rounding. AceConfig widgets have a fixed width, and they wrap to fit in the config space, and the layout is refreshed any time you change an option. You're probably right on the edge of "needs to wrap", and the width is getting rounded on slightly different sides of the magic number in the refresh. Try adjusting your UI scale by 0.01 in either direction; you probably won't notice the difference, but it should solve the rounding issue.

Get current UI scale:
/run print("Current UI scale is " .. GetCVar("uiScale"))

Set new UI scale:
/run SetCVar("uiScale", n)
...where "n" is a number representing the desired scale.
__________________
Author/maintainer of Grid, PhanxChat, and many more. | PM me on CurseForge
Troubleshoot an addon | Turn any code into an addon | More addon resources
Need help with your code? Attach or paste your whole, real files.
Please don't PM me about addon bugs, requests, or code help. Post a comment, ticket, or thread instead!
Phanx is offline   Reply With Quote
Old 08-16-2009   #3
Cyprias
Junior Member
 
Join Date: Jun 2009
Posts: 75
Default Re: Options hug left side after changing option

Thanks for the quick reply. I keep my UI scaled at 1.
After some testing I found a scale of .9999999 works but .99999999 (1 extra 9) causes my problem.
Cyprias is offline   Reply With Quote
Reply

Tags
aceconfig, aceconfigdialog, bug, left, resolution


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:49 AM.