Hi everyone,
I'm writing a scriptUI, and I need to set a preferredSize for my UI elements.
If I set win.layout.layout(true), then set a preferredSize for a panel or group, it won't work.
I know that the AutoLayoutManager resize the container, but how can I make the preferredSize work without set win.layout.layout(false)?
And another thing, if I set win.layout.layout(true), then set a preferredSize for an element which is not a container, then run the script from ExtendScript Tollkit, the preferredSize works fine, but if I save the script to After Effects' scripts folder, run it from After Effects, the preferredSize doesn't work anymore.
Does anyone ever met the same problem?
Any idea why this is happening?
Thanks
Zhiqiang Li