I have this FlexLayout in a dotnet 7 MAUI app:
<FlexLayout Margin="15,20,15,15" AlignItems="Center" JustifyContent="SpaceBetween">
<Button ImageSource="backnav.png"
BackgroundColor="Transparent"
VerticalOptions="Center"
HorizontalOptions="Start"
Clicked="Button_Clicked"/>
<Label Text="Patients"
FontSize="Large"
VerticalOptions="Center"
HorizontalOptions="Center"/>
</FlexLayout>
The back button is correctly positioned to the left. However, the label is slightly off to the right and I can not figure out how to get them to align correctly.
What I want is for the back button to be on the left, the label in the center, and nothing on the right.
How could I achieve this?