Skip to content

Commit ad8d8ce

Browse files
committed
Center dismiss button to center
1 parent beecde2 commit ad8d8ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Bible.Alarm/Views/General/AlarmModal.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,13 @@
111111
HeightRequest="{OnPlatform Default='45',
112112
WinUI='37'}"
113113
HorizontalOptions="Center"
114+
HorizontalTextAlignment="Center"
114115
IsVisible="{Binding IsBusy, Converter={StaticResource negateBooleanConverter}}"
115-
Padding="40,8"
116+
Padding="40,0"
116117
Text="DISMISS"
117118
TextColor="SlateBlue"
118-
VerticalOptions="Center" />
119+
VerticalOptions="Center"
120+
VerticalTextAlignment="Center" />
119121
<ActivityIndicator
120122
IsRunning="{Binding IsBusy}"
121123
IsVisible="{Binding IsBusy}"

0 commit comments

Comments
 (0)