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

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 77050

Trending Articles