Nativescript aligment/positioning question


Hello eveyboody
I have a newbie question
If I have a layout like this

<StackLayout orientation="horizontal">
<Button text="Btn 1"></Button>
<Button text="Btn 2"></Button>

My quesion is how can I push Button1 all the way to left side , and Button2 all the way to the right side
I tried with vertical aligment but its not working ???


You need horizontalAlignment on button. Learn more about layouts at nslayout.