I am a beginner for flex. Now i am trying samples using the layout.
See the following scenario,
<s:VGroup horizontalAlign="center">
<s:Label text="VGroup Container"/>
<s:Button label="One"/>
<s:Button label="Two"/>
<s:Button label="Three"/>
</s:VGroup>
<s:Group>
<s:layout>
<s:VerticalLayout horizontalAlign="center"/>
</s:layout>
<s:Label text="Group with VerticalLayout"/>
<s:Button label="One"/>
<s:Button label="Two"/>
<s:Button label="Three"/>
</s:Group>
Is it having any differences? If it's having, please share it with me. Otherwise tell me which one is better or which one is correct?
Thanks in advance.