vaebris / SpartanUI

5 stars 2 forks source link

Size #7

Open vaebris opened 12 years ago

vaebris commented 12 years ago

cant resize to smaler in eyefinity screen resolution 5760x1080

ghost commented 12 years ago

Any chance of this being sorted anytime soon?

I've changed local minScale = floor(((UIParent:GetWidth()/2560)*10^2)+1) / (10^2);

to: local minScale = floor(((UIParent:GetWidth()/5760)*10^2)+1) / (10^2);

which allows me to scale it properly on 5760x1080, but then it causes a huge black space on either side, so works fine but just rather bad looking on left and right screen :P

zomar commented 12 years ago

I have resolution 4536x900 Eyefinity. I just came back to Wow after putting it down for a while and noticed I was getting a Spartan error on character login. I was running SpartanUI-263-RC5.4 (I think this was a special version Zilver made for us Eyefinity people). I updated to SpartanUI-2.6.3-Beta and the error on character login went away. However my screen was huge and there was a huge black space on either side. To get things back to normal, in the old version from AddOns\SpartanUI\scripts I copied Global-Framework.lua and Global-Framework.xml and replaced the new versions of the file in the relative folder. I have provided these files at http://www.zomarweb.com/wowfiles/Global-Framework.zip I never took the time to see what the difference is in the files, it works so I am happy.

A few other things I do to get things my way, I delete two images baseleft2.tga and baseright2.tga in AddOns\SpartanUI\media. Then in the game under options advanced I activate the UI scale/slider to 1.0 and then type without quotes "/sui scale 0.8"

I hope this helps someone else.

Edit: After some more messing around it seems it is not necessary to replace the Global-Framework.xml file Now there seems to be a graphical issue with the world map button on the mini map just above the calendar button, it is cut off at the bottom. Strange thing is that Zilver used to swap that icon with MiniMapWorldMapButtonIcon.tga