I have a Horizontal stack layout contained within a vertical stack layout. I want to ensure that the 3 elements contained within that horizontal stack layout are aligned so that their "baselines" line up.
I can't figure it out. The label and picker are in their own stacklayout so that I can get the entry to fill from the right of the screen.
<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand"> <StackLayout Orientation="Horizontal" HorizontalOptions="Start" VerticalOptions="End" Padding="0"> <Label Text="License Plate" HorizontalOptions="FillAndExpand" YAlign="End" VerticalOptions="End"> <Label.GestureRecognizers> <TapGestureRecognizer Command="{Binding TakeVehiclePictureCommand}"></TapGestureRecognizer> </Label.GestureRecognizers> </Label> <Picker ItemsSource="{Binding StateList}" SelectedItem="{Binding StateCode}" HorizontalOptions="End" VerticalOptions="End" Title="State"></Picker> </StackLayout> <xfx:XfxEntry Text="{Binding PlateNumber}" Placeholder="Plate Number" HorizontalOptions="FillAndExpand" VerticalOptions="End"></xfx:XfxEntry> </StackLayout>
What on earth am I doing wrong?
Thanks,
Matthew