Page 1 of 1

AE7 relative window layouts

Posted: March 9th, 2006, 9:47 am
by Soviut
Greetings all, I'm having an issue with doing relative window/dialog layouts. I've developed some dialogs for Photoshop CS2 scripts that I wrote, but can't seem to adapt them properly. I've tried using both methods of a big long string to layout the controls, as well as a purely code-based object instantiation way.

Both methods draw the controls, however, they all have absolute placement. The photoshop panel designs I'm trying to port all worked on a relative basis, making it possible to easily resize the layout without having to adjust hundreds of absolute coordinates.

Is there something I'm doing wrong, or does AE7 simply not support the dialog layout systems that PS CS2 supports?

Automatic layout not supported

Posted: March 9th, 2006, 8:51 pm
by redefinery
Hi Soviut,

If you're referring to the AutoLayoutManager stuff, unfortunately it's not supported in AE7.

I specify the coordinates of my controls relative to each other, so that helps a little.

Jeff

Posted: March 9th, 2006, 9:27 pm
by Soviut
Yeah, that's too bad. The autolayouts really made things a lot easier in my Photoshop dialog designs.

Thanks for the info.