From 595b8308705b6fec2049a4801de452e71ea760a5 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 31 Mar 2025 19:15:34 +0200 Subject: [PATCH 1/9] Remove background color so that Mica works --- WinUINotes/WinUINotes/Views/AllNotesPage.xaml | 3 +-- WinUINotes/WinUINotes/Views/NotePage.xaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/WinUINotes/WinUINotes/Views/AllNotesPage.xaml b/WinUINotes/WinUINotes/Views/AllNotesPage.xaml index 7f152c0..0b6bc2f 100644 --- a/WinUINotes/WinUINotes/Views/AllNotesPage.xaml +++ b/WinUINotes/WinUINotes/Views/AllNotesPage.xaml @@ -7,8 +7,7 @@ xmlns:models="using:WinUINotes.Models" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - mc:Ignorable="d" - Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> + mc:Ignorable="d"> diff --git a/WinUINotes/WinUINotes/Views/NotePage.xaml b/WinUINotes/WinUINotes/Views/NotePage.xaml index d216bb6..d08b57d 100644 --- a/WinUINotes/WinUINotes/Views/NotePage.xaml +++ b/WinUINotes/WinUINotes/Views/NotePage.xaml @@ -6,8 +6,7 @@ xmlns:local="using:WinUINotes" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - mc:Ignorable="d" - Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> + mc:Ignorable="d"> From 16ed91c3599d363bc54b0b86661806966e5c091d Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 31 Mar 2025 19:16:25 +0200 Subject: [PATCH 2/9] Bind CanGoBack to BackButtonVisibility --- WinUINotes/WinUINotes/MainWindow.xaml | 36 ++++++++++++++------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/WinUINotes/WinUINotes/MainWindow.xaml b/WinUINotes/WinUINotes/MainWindow.xaml index c37f075..d574886 100644 --- a/WinUINotes/WinUINotes/MainWindow.xaml +++ b/WinUINotes/WinUINotes/MainWindow.xaml @@ -1,37 +1,39 @@ - + + xmlns:views="using:WinUINotes.Views" + Title="WinUINotes" + mc:Ignorable="d"> - + - + - + - + - + - - + + From f01e3d222a7d673b86f730adb5132646c37abd25 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 31 Mar 2025 19:19:28 +0200 Subject: [PATCH 3/9] Add AccentButtonStyle to save button --- WinUINotes/WinUINotes/Views/NotePage.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WinUINotes/WinUINotes/Views/NotePage.xaml b/WinUINotes/WinUINotes/Views/NotePage.xaml index d08b57d..cf856a4 100644 --- a/WinUINotes/WinUINotes/Views/NotePage.xaml +++ b/WinUINotes/WinUINotes/Views/NotePage.xaml @@ -33,7 +33,7 @@ HorizontalAlignment="Right" Spacing="4" Grid.Row="1" Grid.Column="1"> -