Files
NativeScript/apps/tests/ui/layouts/stack-layout.md
2016-05-09 11:34:31 +03:00

704 B

nav-title, title, description, previous_url
nav-title title description previous_url
stack-layout How-To stack-layout Examples for using stack-layout /ApiReference/ui/layouts/stack-layout/HOW-TO

StackLayout

Using a StackLayout requires the StackLayout module.

Declaring a StackLayout.

<Page>
  <StackLayout orientation="horizontal">
    <Label text="This is Label 1" />
  </StackLayout>
</Page>

Create StackLayout

Add child view to layout

Remove child view from layout

Change layout orientation to Horizontal