Page 1 of 1

WindowX/Y Percentages on Multi Monitors

Posted: April 12th, 2010, 11:21 pm
by Hersha
I'm trying to put a skin on the top center of one of my monitors so I try this:

Code: Select all

WindowX=50%@1
WindowY=0@1
AnchorX=50%
AnchorY=0
It doesnt work for some reason. The skin ends up on my second monitor in no where near the position it should be.(Against the right side and a couple hundred pixels down.) This happens even when I dont specify a monitor. If I unplug my other monitor or change the percentages to pixel values everything works peachy. So this seems more like a bug to me but I could be doing something wrong I dont know. Thanks for any help you can give.

Re: WindowX/Y Percentages on Multi Monitors

Posted: April 12th, 2010, 11:34 pm
by MattKing
Boy I don't know what I'm talking about.

Re: WindowX/Y Percentages on Multi Monitors

Posted: April 13th, 2010, 1:03 am
by dragonmage
Hersha wrote:I'm trying to put a skin on the top center of one of my monitors so I try this:

Code: Select all

WindowX=50%@1
WindowY=0@1
AnchorX=50%
AnchorY=0
It doesnt work for some reason. The skin ends up on my second monitor in no where near the position it should be.(Against the right side and a couple hundred pixels down.) This happens even when I dont specify a monitor. If I unplug my other monitor or change the percentages to pixel values everything works peachy. So this seems more like a bug to me but I could be doing something wrong I dont know. Thanks for any help you can give.

If you are using the newer betas, try...

Code: Select all

WindowX=(#SCREENAREAWIDTH@n# / 2)
WindowY=0@n
AnchorX=50%
AnchorY=0
This is completely untested as I have only one monitor, but it's worth a shot.