【发布时间】:2014-02-10 08:43:17
【问题描述】:
我是 flex 的初学者。现在我正在尝试使用布局的示例。
看下面的场景,
<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>
有什么不同吗?如果有,请与我分享。否则告诉我哪个更好或哪个是正确的?
提前致谢。
【问题讨论】:
标签: apache-flex flex4