Setting the gap of layout
Posted
by Kamo
on Stack Overflow
See other posts from Stack Overflow
or by Kamo
Published on 2010-06-05T02:14:14Z
Indexed on
2010/06/05
11:12 UTC
Read the original article
Hit count: 213
I usually set the layout like this where I specify the gap
inside the VerticalLayout
tag
<s:Group>
<s:layout>
<s:VerticalLayout gap="10"/>
</s:layout>
</s:Group>
I'm trying to specify the layout as a property of the Group like this
<s:Group layout="{new VerticalLayout()}">
</s:Group>
but not sure how to specify the gap in this case. Couldn't spot something in the documentation to show if it's possible to include gap
as a parameter when creating new VerticalLayout
or what its position would be.
© Stack Overflow or respective owner