Skip to content

Commit

Permalink
Frontend: aligned title view to left
Browse files Browse the repository at this point in the history
Before this commit the title 'DG!'
was centered on iOS and aligned
to the left on Android. Because of the
fact that it is impossible to perfectly
align that title to center on Android[1]
the title has been aligned to the left
on both platforms.

[1] dotnet/maui#5063
  • Loading branch information
kubaflo committed Jun 7, 2023
1 parent 48c67b4 commit e1d119e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Frontend/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
<FlyoutPage.Detail>
<NavigationPage>
<x:Arguments>
<ContentPage x:Name="Content" Title="DG!">
<ContentPage x:Name="Content">
<NavigationPage.TitleView>
<Label
Text="DG!"
VerticalOptions="Center"
VerticalTextAlignment="Center"
HorizontalTextAlignment="Start"
/>
</NavigationPage.TitleView>
<ScrollView>
<Grid>
<Grid
Expand Down

0 comments on commit e1d119e

Please sign in to comment.