From c2c4795cee0bf12e8bc31bd7c6581ce4af176641 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 4 Dec 2023 13:18:32 +0100 Subject: [PATCH] Adding new Settings UX (#2049) * Revert "Revert PR#1964 (#2032)" This reverts commit fbc65987700f45fd7bdcd7144b9ffd9aa9720119. * Updating namespaces * Using Uwp package and loc fix --- nuget.config | 2 +- src/Calculator/Calculator.csproj | 3 + src/Calculator/Resources/en-US/Resources.resw | 4 +- src/Calculator/Views/Settings.xaml | 291 +++++++----------- src/Calculator/Views/Settings.xaml.cs | 6 +- 5 files changed, 121 insertions(+), 185 deletions(-) diff --git a/nuget.config b/nuget.config index e59e698f..ca8e03c6 100644 --- a/nuget.config +++ b/nuget.config @@ -7,4 +7,4 @@ - + \ No newline at end of file diff --git a/src/Calculator/Calculator.csproj b/src/Calculator/Calculator.csproj index 653eafaf..e9f71be3 100644 --- a/src/Calculator/Calculator.csproj +++ b/src/Calculator/Calculator.csproj @@ -793,6 +793,9 @@ + + 8.0.230823-rc + 6.2.14 diff --git a/src/Calculator/Resources/en-US/Resources.resw b/src/Calculator/Resources/en-US/Resources.resw index 82643890..c486fb20 100644 --- a/src/Calculator/Resources/en-US/Resources.resw +++ b/src/Calculator/Resources/en-US/Resources.resw @@ -4722,11 +4722,11 @@ Appearance Subtitle of appearance setting on Settings page - + App theme Title of App theme expander - + Select which app theme to display Description of App theme expander diff --git a/src/Calculator/Views/Settings.xaml b/src/Calculator/Views/Settings.xaml index 44848a79..e1eaf0ce 100644 --- a/src/Calculator/Views/Settings.xaml +++ b/src/Calculator/Views/Settings.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:automation="using:CalculatorApp.ViewModel.Common.Automation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:toolkit="using:CommunityToolkit.WinUI.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:utils="using:CalculatorApp.Utils" @@ -14,7 +15,7 @@ + + + + 4 @@ -44,42 +53,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -