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.
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
Post a Comment