ScriptUI Layout


i'm looking dynamic way having 2 children of group (one dyamically sized , 1 explicitly sized) fill parenting group's allotted space. this:

 

[[         edittext          ][button]]

 

where edittext has alignment of 'fill'. , button has preferredsize of [20, 20];

 

the way scriptui treats follows:

 

[[edittext][button][                 ]]

 

it ignores 'fill' property of edittext alignment , fills alotted space nothing instead of edittext.

 

the way made ui rift script explicitly setting character count on edittext elements filled gap.

 

http://cdn.aescripts.com/media/catalog/product/cache/1/image/800x600/040ec09b1e35df139433887a97daa66f/r/i/rift_interface.png

 

but falls apart when open in older versions sizing of individual elements different.

 

so specifically, how make "shift" panel able dynamically resize while keeping buttons sizes fixed @ [20,20]?

 

thanks.

is button 'right' aligned? , shift panel (and parent groups) set 'fill'?

it doesn't sound button resizing don't need set maximumsize.

and have line like:

pal.onresizing = pal.onresize = function () { this.layout.resize(); };

 

this can tricky stuff right. might if post relevant bit of ui code.

 

paul



More discussions in After Effects Scripting


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account