Files
NativeScript/tests/app/ui/layouts/stack-layout.md
Panayot Cankov e135c20b14 Rename the files
2016-05-26 14:30:25 +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