Files
NativeScript/apps/automated/app/ui/layouts/wrap-layout.md
Nathan Walker 1e6fccf272 chore: cleanup
2020-07-23 14:03:37 -07:00

676 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>

Creating a WrapLayout

{%snippet wrap-layout-new%}

Setting the orientation of a wrap-layout.

{%snippet wrap-layout-orientation%}