It is currently March 28th, 2024, 3:46 pm

WindowX/Y Percentages on Multi Monitors

Get help with creating, editing & fixing problems with skins
Post Reply
Hersha
Posts: 1
Joined: April 12th, 2010, 11:11 pm

WindowX/Y Percentages on Multi Monitors

Post 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.
MattKing
Developer
Posts: 98
Joined: August 6th, 2009, 3:03 pm

Re: WindowX/Y Percentages on Multi Monitors

Post by MattKing »

Boy I don't know what I'm talking about.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: WindowX/Y Percentages on Multi Monitors

Post 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.
Post Reply