Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

A good way to align controls in StackLayout

$
0
0

Hi,

what is the best way for alignment controls in stack layout ?
For example I want 3 labels in one horizontal stacklayout, label on the left, center and right.

What kind of alignment should be used?

<StackLayout Orientation="Horizontal">
        <Label HorizontalOptions="Start" Text="Left">
        </Label>
        <Label HorizontalOptions="Center" Text="Center">
        </Label>
        <Label HorizontalOptions="End" Text="Right">
        </Label>
      </StackLayout>

Whats is a good way to do this?
Regards


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>