mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
778 B
778 B
nav-title, title, environment, description, previous_url
| nav-title | title | environment | description | previous_url |
|---|---|---|---|---|
| WrapLayout How-To | wrap-layout | nativescript | Examples for using WrapLayout | /ApiReference/ui/layouts/wrap-layout/HOW-TO |
WrapLayout
Using a WrapLayout requires the WrapLayout module. {%snippet wrap-layout-require%}
Declaring a WrapLayout.
<Page>
<WrapLayout>
<Label text="This is Label 1" />
<Label text="This is Label 2" />
<Label text="This is Label 3" />
<Label text="This is Label 4" />
</WrapLayout>
</Page>
Other frequently used modules when working with a WrapLayout include: {%snippet wrap-layout-others%}
Creating a WrapLayout
{%snippet wrap-layout-new%}
Setting the orientation of a wrap-layout.
{%snippet wrap-layout-orientation%}