AndrewJudd

Centering a new Window

Discussion created by AndrewJudd on Dec 1, 2015
Latest reply on Dec 2, 2015 by rivet

HI all,

 

I have a script - see below - to bring up a new window which acts as basically a custom designed dialog window.

 

I also have two custom functions to help this get centered - also attached.

 

However, for some reason my new windows are all alligned a bit left, approx 2 cm off. which is slightly annoying.

 

Can anyone see why this might be?

 

thanks!

 

 

 

 

Screen Shot 2015-12-01 at 21.51.04.png

Screen Shot 2015-12-01 at 21.51.39.png

Screen Shot 2015-12-01 at 21.51.43.png

Outcomes