Layout Groups and proper expected behavoir missing
Right if in Mobile Application developments and of course resizable windows in AIR we need to work with VGroups and HGroups to get things to scal properly.
It seems as I'm use to withover systems (IB) you can say in a HGroup there is an item or another HGroup that aligns left and a second that aligns right (maybe through a spacer in the middle). You should be able to say set the width or the encapsulating HGroup and have one item of the left and the other on the right.
In this it doesn't seem to do that?! you'd have to rewite Hroup to grow a spacer to the right length in between.
Please explain how it's possible or add that functionality.
I've noted justify as a means to scale all the buttons to the same size, but you seem to have missed a really important aspect in groups.
Another example is a text area with buttons to one side. The bottons maybe in a VGroup should say right=0 maybe a width but shouldn't need it. The TextArea would have similarly left=0 and right=0 as the containing hgroup is scaled in x or you change the width for different mobile device screen resolutions etc the text area should grow in width to fill the spaces. I'm see this I'll have to custom code since it's not doing the expected behaviour.
<s:HGroup left="0" right="0" width="200" requestedColumnCount="3" horizontalAlign="center" verticalAlign="middle">
<s:HGroup horizontalAlign="left">
<s:Label left="2" width="50" text="Label:"/>
</s:HGroup>
<mx:Spacer left="0" right="0" top="0" />
<s:HGroup horizontalAlign="right">
<s:Button right="2" width="50" label="Call Action" click="callAction()" fontSize="16"/>
</s:HGroup>
</s:HGroup>
