NativeScript StackLayout with gap between child elements -
i'm using nativescript stacklayout component layout elements.
what best approach create gap between child elements of stacklayout?
you can use margin
in css layout.
in xml:
<stacklayout> <label text="hey there,"></label> <label text="world!"></label> </stacklayout>
in css:
stacklayout label { margin: 10; }
Comments
Post a Comment