Page 1 of 1
Arrange a stack to the screen.
Posted: Mon Aug 04, 2014 5:52 pm
by zaxos
Hello, any idia how i can arrange my stack to the top,left,right,bottom of the screen? all i was able to find for now was the screenLoc wich arranges it at the center of the screen.
Thank you for your time.
Re: Arrange a stack to the screen.
Posted: Mon Aug 04, 2014 6:25 pm
by FourthWorld
See the screenRect, or perhaps more helpfully, the windowBoundingRect.
Re: Arrange a stack to the screen.
Posted: Mon Aug 04, 2014 6:31 pm
by zaxos
Hello FourthWorld, i'v checked screenRect but i dont think it helps because i need my stack to be on the side of the screen on different resolutions, with the screenRect i can get the result i want but if the res changes everything is messed up
Re: Arrange a stack to the screen.
Posted: Mon Aug 04, 2014 6:37 pm
by FourthWorld
I believe the desktopChanged message may help with that.
Re: Arrange a stack to the screen.
Posted: Mon Aug 04, 2014 10:21 pm
by zaxos
I'ts never too easy with this stuff, needed to make calculations to make it work, if anyone is intrested let me know.
Thank you for your help FourthWorld
