From 5ec4b8d449d455a8f6fd4a6e0e4fa454538e6354 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 16 Aug 2021 15:35:46 +0200 Subject: [PATCH] Revert "Clean up" This reverts commit 028e15fab6d28fa2519f5a3afa2b7e3e9c2eb297. --- .../Microsoft.PowerToys.Settings.UI/App.xaml | 3 +-- .../Microsoft.PowerToys.Settings.UI.csproj | 2 +- .../OOBE/Views/OobeShellPage.xaml | 11 +++++++++++ .../OOBE/Views/OobeShellPage.xaml.cs | 2 +- .../Strings/en-us/Resources.resw | 3 +++ .../Styles/TextBlock.xaml | 9 +++++++++ .../Styles/_FontSizes.xaml | 4 ++++ .../Styles/_Thickness.xaml | 4 ++++ .../SettingsExpanderStyles.xaml} | 0 9 files changed, 34 insertions(+), 4 deletions(-) rename src/settings-ui/Microsoft.PowerToys.Settings.UI/{Controls/SettingExpander/SettingExpanderStyles.xaml => Themes/SettingsExpanderStyles.xaml} (100%) diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/App.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/App.xaml index 34c6d79216..38284c963e 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/App.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/App.xaml @@ -9,7 +9,6 @@ - @@ -17,7 +16,7 @@ - + 6,16,16,16 diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj index f098f4c221..79adec003a 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj @@ -417,7 +417,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml index 048fb9f0b8..0e3bf06e76 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml @@ -53,6 +53,17 @@ IsBackButtonVisible="Collapsed" MenuItemsSource="{x:Bind Modules, Mode=OneTime}" MenuItemTemplate="{StaticResource NavigationViewMenuItem}"> + + + + + diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml.cs b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml.cs index c9294a2315..13948e6343 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml.cs +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShellPage.xaml.cs @@ -59,7 +59,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views Modules.Insert((int)PowerToysModulesEnum.Overview, new OobePowerToysModule() { - ModuleName = loader.GetString("Oobe_GettingStarted"), + ModuleName = loader.GetString("Oobe_Welcome"), Tag = "Overview", IsNew = false, Icon = "\uEF3C", diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index 3e2809d93d..5d971d9791 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -1322,6 +1322,9 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and Video Conference Do not localize this string + + Welcome + Open Settings diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Styles/TextBlock.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Styles/TextBlock.xaml index 9b23257d6d..0b8193289f 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Styles/TextBlock.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Styles/TextBlock.xaml @@ -2,6 +2,15 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + +