From 7dbaf24fd915f0406285091483d4b13f21a14ce3 Mon Sep 17 00:00:00 2001 From: Jay <65828559+Jay-o-Way@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:07:27 +0100 Subject: [PATCH 1/2] remove obsolete UI Fonticon properties --- .../Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml | 6 ++---- .../SettingsXAML/Views/EnvironmentVariablesPage.xaml | 12 ++++-------- .../SettingsXAML/Views/FancyZonesPage.xaml | 3 +-- .../Settings.UI/SettingsXAML/Views/HostsPage.xaml | 3 +-- .../SettingsXAML/Views/KeyboardManagerPage.xaml | 6 ++---- .../SettingsXAML/Views/MouseUtilsPage.xaml | 3 +-- .../SettingsXAML/Views/PowerLauncherPage.xaml | 2 +- .../SettingsXAML/Views/RegistryPreviewPage.xaml | 3 +-- 8 files changed, 13 insertions(+), 25 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml index 9975180a14..df772ed3e1 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml @@ -119,8 +119,7 @@ x:Name="DocsBtn" x:Uid="DocsBtn" Click="DocsBtn_Click" - Content="{ui:FontIcon Glyph=, - FontSize=16}" + Content="{ui:FontIcon FontSize=16, Glyph=}" Style="{StaticResource FlyoutButtonStyle}"> @@ -130,8 +129,7 @@ x:Name="ReportBugBtn" x:Uid="BugReportBtn" Click="ReportBugBtn_Click" - Content="{ui:FontIcon Glyph=, - FontSize=16}" + Content="{ui:FontIcon FontSize=16, Glyph=}" Style="{StaticResource FlyoutButtonStyle}"> diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml index b8030fa9f5..a389984a07 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml @@ -6,7 +6,7 @@ xmlns:controls1="using:CommunityToolkit.WinUI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:ui="using:CommunityToolkit.WinUI.UI" + xmlns:ui="using:CommunityToolkit.WinUI" mc:Ignorable="d"> @@ -27,17 +27,13 @@ diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml index ce02fd168c..2a2b0f0e2e 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/FancyZonesPage.xaml @@ -29,8 +29,7 @@ diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/HostsPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/HostsPage.xaml index ab083d3caa..c79bea80ec 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/HostsPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/HostsPage.xaml @@ -27,8 +27,7 @@ diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/KeyboardManagerPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/KeyboardManagerPage.xaml index f4ef3b5ece..764ca8fccc 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/KeyboardManagerPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/KeyboardManagerPage.xaml @@ -69,8 +69,7 @@ @@ -123,8 +122,7 @@ diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/MouseUtilsPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/MouseUtilsPage.xaml index 96c5848889..5ad461c12a 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/MouseUtilsPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/MouseUtilsPage.xaml @@ -58,8 +58,7 @@ diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml index 0e2bfc8487..73f9b0b246 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/PowerLauncherPage.xaml @@ -153,7 +153,7 @@ - + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/RegistryPreviewPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/RegistryPreviewPage.xaml index 963c02cf41..7b51f324ba 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/RegistryPreviewPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/RegistryPreviewPage.xaml @@ -31,8 +31,7 @@ From 878a5306d24a72ed544ed046e3312abad66f5233 Mon Sep 17 00:00:00 2001 From: Jay <65828559+Jay-o-Way@users.noreply.github.com> Date: Sun, 31 Dec 2023 05:49:32 +0100 Subject: [PATCH 2/2] Update LaunchPage.xaml --- .../Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml index df772ed3e1..8dd5ac9b7b 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Flyout/LaunchPage.xaml @@ -119,7 +119,8 @@ x:Name="DocsBtn" x:Uid="DocsBtn" Click="DocsBtn_Click" - Content="{ui:FontIcon FontSize=16, Glyph=}" + Content="{ui:FontIcon FontSize=16, + Glyph=}" Style="{StaticResource FlyoutButtonStyle}"> @@ -129,7 +130,8 @@ x:Name="ReportBugBtn" x:Uid="BugReportBtn" Click="ReportBugBtn_Click" - Content="{ui:FontIcon FontSize=16, Glyph=}" + Content="{ui:FontIcon FontSize=16, + Glyph=}" Style="{StaticResource FlyoutButtonStyle}">