From 3c0b4ab9bdca03c02fc82bea52877db972753d12 Mon Sep 17 00:00:00 2001 From: Alexandre Agostinho Date: Sat, 8 Apr 2023 14:15:23 +0200 Subject: [PATCH] correction on the custom header --- MCTG/Views/AppShell.xaml | 2 +- MCTG/Views/ContainerWithHeader.xaml | 14 +++++++++----- MCTG/Views/CustomHeader.xaml | 12 ++++-------- MCTG/Views/Home.xaml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/MCTG/Views/AppShell.xaml b/MCTG/Views/AppShell.xaml index da7a51f..38dd24a 100644 --- a/MCTG/Views/AppShell.xaml +++ b/MCTG/Views/AppShell.xaml @@ -5,7 +5,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Views" FlyoutBackgroundColor="DarkGray" - Shell.FlyoutBehavior="Flyout" + Shell.FlyoutBehavior="Disabled" Shell.NavBarIsVisible="False"> diff --git a/MCTG/Views/ContainerWithHeader.xaml b/MCTG/Views/ContainerWithHeader.xaml index b88eb33..4fae655 100644 --- a/MCTG/Views/ContainerWithHeader.xaml +++ b/MCTG/Views/ContainerWithHeader.xaml @@ -5,13 +5,17 @@ x:Class="Views.ContainerWithHeader" x:Name="root"> - + + + Grid.Column="1" + MinimumHeightRequest="80" + VerticalOptions="StartAndExpand"/> + diff --git a/MCTG/Views/CustomHeader.xaml b/MCTG/Views/CustomHeader.xaml index f99a56d..bea9dbc 100644 --- a/MCTG/Views/CustomHeader.xaml +++ b/MCTG/Views/CustomHeader.xaml @@ -4,15 +4,11 @@ x:Class="Views.CustomHeader" BackgroundColor="{StaticResource Primary}"> - - - + - diff --git a/MCTG/Views/Home.xaml b/MCTG/Views/Home.xaml index 5d6c135..5a8ac84 100644 --- a/MCTG/Views/Home.xaml +++ b/MCTG/Views/Home.xaml @@ -14,7 +14,7 @@ FontSize="32" FontAttributes="Bold" Padding="15"/> -