From 2304eff3ca41e7eba03f05728a7124840ca9e6bb Mon Sep 17 00:00:00 2001 From: Den Delimarsky <1389609+dend@users.noreply.github.com> Date: Tue, 23 Mar 2021 08:11:49 -0700 Subject: [PATCH] Fiddling with settings to make sure I can connect them to the app --- .../Strings/en-us/Resources.resw | 24 +++++++++++ .../Views/EspressoPage.xaml | 42 +++++++++++++++---- 2 files changed, 58 insertions(+), 8 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 f03f4f34a0..a718b54ded 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 @@ -1155,4 +1155,28 @@ Win + Shift + O to toggle your video PowerToys Settings + + About Espresso + + + A convenient way to keep your computer awake on-demand. + + + Enable Espresso + + + Keep awake indefinitely + + + Keep awake temporarily + + + Keeps the computer awake until the setting is disabled. + + + Keeps the computer awake until the set time elapses. + + + Keep display on + \ No newline at end of file diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/EspressoPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/EspressoPage.xaml index 2e48e226c2..97a059e3b0 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/EspressoPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/EspressoPage.xaml @@ -53,20 +53,46 @@ HorizontalAlignment="Left" Margin="0,0,48,0" MaxWidth="{StaticResource MaxContentWidth}"> + + + - + + + + + + + + + + + + + + + + + + + + - - @@ -78,15 +104,15 @@ HorizontalAlignment="Left" Margin="{StaticResource SmallTopBottomMargin}" RelativePanel.Below="DescriptionPanel"> - - + + - + @@ -98,8 +124,8 @@ Style="{StaticResource SettingsGroupTitleStyle}" /> - + NavigateUri="https://github.com/microsoft/PowerToys/"> +