ScriptUI Layout
I'm looking for a dynamic way to having two children of a group (one dyamically sized and one explicitly sized) fill up the parenting group's allotted space. Like this:
[[ edittext ][button]]
Where the edittext has an alignment of 'fill'. And the button has a preferredSize of [20, 20];
The way ScriptUI currently treats this is as follows:
[[edittext][button][ ]]
It ignores the 'fill' property of the edittext alignment and fills up the alotted space with nothing instead of the edittext.
The way I made the UI for my Rift script was by explicitly setting the character count on the edittext elements so that they filled the gap.

But this all falls apart when I open this up in older versions where the sizing of individual elements is completely different.
So specifically, how would you make something like the "Shift" panel be able to dynamically resize while keeping the buttons sizes fixed at [20,20]?
Thanks.
