Copy link to clipboard
Copied
Hello to all
A window called from another window are the same size. How can change the position of the window relative to the caller call window?
You can also use the window's frameLocation property to get an set the locations of the windows.
Copy link to clipboard
Copied
You can use the "bounds" after your window name. Set the X & Y values. You can specify the width and height by entering numbers, or you can put "undefined" for automatic layout.
var dlg = new Window('dialog','test')
dlg.bounds = {x:100, y:100, width:undefined, height:undefined}; //object
Copy link to clipboard
Copied
That is worked, but for abs.coord. How make releative coord.?
When I include that in my script, window show without elements ! See attachments №2
Copy link to clipboard
Copied
You can also use the window's frameLocation property to get an set the locations of the windows.
Copy link to clipboard
Copied
Do you can give me link on tutorial, documentation ?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now