diff --git a/ch02_DesigningViews/ex_CustomToolbar/MainPage.xaml b/ch02_DesigningViews/ex_CustomToolbar/MainPage.xaml index b47a6f8..15f1b38 100644 --- a/ch02_DesigningViews/ex_CustomToolbar/MainPage.xaml +++ b/ch02_DesigningViews/ex_CustomToolbar/MainPage.xaml @@ -84,34 +84,34 @@ BackgroundColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" Padding="4"> - + + MinimumHeightRequest="{OnPlatform 16, WinUI=24}" + MinimumWidthRequest="{OnPlatform 16, WinUI=24}" + HeightRequest="{OnPlatform 16, WinUI=24}" + Margin="{OnPlatform '12,0', WinUI='0,0,4,0', Android='0'}" + BackgroundColor="Transparent" VerticalOptions="Center"> - + -