From 001527dd54f405895fc1f93fcd8bd750ff7fce34 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 2 Aug 2021 16:15:15 +0200 Subject: [PATCH] Awake UX update --- .../Strings/en-us/Resources.resw | 11 +- .../Views/AwakePage.xaml | 102 ++++++++++-------- .../Views/GeneralPage.xaml | 3 +- .../Views/PowerPreviewPage.xaml | 6 +- 4 files changed, 71 insertions(+), 51 deletions(-) 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 0605ec8078..baec13be3d 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 @@ -742,7 +742,7 @@ Disabling this module or closing PowerToys will unmute the microphone and camera Download updates automatically - + Except on metered connections @@ -1287,13 +1287,13 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and Keeps your PC awake until the set time elapses - + Keep screen on - + Mode - + Behavior @@ -1389,4 +1389,7 @@ From there, simply click on a Markdown file or SVG icon in the File Explorer and See what's new + + Set the preferred state of your computer + \ No newline at end of file diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml index f7d98dd95f..faa58ee208 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml @@ -7,6 +7,7 @@ xmlns:c="using:Microsoft.PowerToys.Settings.UI.Converters" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" + xmlns:toolkitcontrols="using:Microsoft.Toolkit.Uwp.UI.Controls" mc:Ignorable="d" AutomationProperties.LandmarkType="Main"> @@ -19,66 +20,73 @@ ModuleImageLink="https://aka.ms/PowerToysOverview_Awake"> - - + + + + + + + + - - - - + + + + + + + + + + + + + - - + + - - - - - + + + - - + + - - - - - + + + - - + + - - - - + + + + - - + - - - + + + + + + + + + + diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml index 3ba4310ed9..8077b46377 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/GeneralPage.xaml @@ -189,7 +189,8 @@ - diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml index d5f7fa0b53..0518b784d1 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml @@ -40,13 +40,13 @@ - + - + @@ -54,7 +54,7 @@ - +