From 59ce90e9240e37813dbcb8c00a0fc11c832909b4 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Wed, 17 Jun 2020 18:48:30 +0200 Subject: [PATCH] [PowerToys Run] Vertical scrollbar for results list (#4343) * Enabling vertical scrollbar and colors * Extending the list under the scrollbar * Fix --- .../launcher/PowerLauncher/ResultList.xaml | 10 +- .../Styles/ModernScrollBarStyle.xaml | 339 ++++++++++++++++++ .../Styles/UWPScrollBarStyle.xaml | 124 ------- .../launcher/PowerLauncher/Themes/Dark.xaml | 19 +- .../PowerLauncher/Themes/HighContrast1.xaml | 19 +- .../PowerLauncher/Themes/HighContrast2.xaml | 19 +- .../Themes/HighContrastBlack.xaml | 19 +- .../Themes/HighContrastWhite.xaml | 18 +- .../launcher/PowerLauncher/Themes/Light.xaml | 18 +- 9 files changed, 432 insertions(+), 153 deletions(-) create mode 100644 src/modules/launcher/PowerLauncher/Styles/ModernScrollBarStyle.xaml delete mode 100644 src/modules/launcher/PowerLauncher/Styles/UWPScrollBarStyle.xaml diff --git a/src/modules/launcher/PowerLauncher/ResultList.xaml b/src/modules/launcher/PowerLauncher/ResultList.xaml index 84d324dc5a..71d8cfc9e0 100644 --- a/src/modules/launcher/PowerLauncher/ResultList.xaml +++ b/src/modules/launcher/PowerLauncher/ResultList.xaml @@ -11,9 +11,9 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Styles/UWPScrollBarStyle.xaml b/src/modules/launcher/PowerLauncher/Styles/UWPScrollBarStyle.xaml deleted file mode 100644 index 6728850124..0000000000 --- a/src/modules/launcher/PowerLauncher/Styles/UWPScrollBarStyle.xaml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/Dark.xaml b/src/modules/launcher/PowerLauncher/Themes/Dark.xaml index ebae7c2a31..aba7d05776 100644 --- a/src/modules/launcher/PowerLauncher/Themes/Dark.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/Dark.xaml @@ -26,10 +26,21 @@ - + - - - + + + #FF767676 + #FFa4a4a4 + + #FF1b1b1b + + #FFcdcdcd + #FFcdcdcd + #FF171717 + + + #FF313131 + #FFa4a4a4 \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml b/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml index 526b545401..573998249a 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml @@ -26,10 +26,21 @@ - + - - - + + + #FF008000 + #FF008000 + + #FF000000 + + #FFFFFFFF + #FFFFFFFF + #FFFFFFFF + + + #FF000000 + #FF000000 \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml b/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml index 11d82984fc..2c73c73e84 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml @@ -26,10 +26,21 @@ - + - - - + + + #FF0000ff + #FF0000ff + + #FF000000 + + #FFFFFFFF + #FFFFFFFF + #FFFFFFFF + + + #FF000000 + #FF000000 \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml b/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml index c090f82fd6..9808c0f31a 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml @@ -26,10 +26,21 @@ - + - - - + + #FF0ca7b6 + #FF0ca7b6 + + #FF000000 + + #FFFFFFFF + #FFFFFFFF + #FFFFFFFF + + + #FF000000 + #FF000000 + \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml b/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml index 05dc50ff14..23d03fe6f6 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml @@ -26,10 +26,20 @@ - + - - - + + #FF9a59db + #FF9a59db + + #FFf0f0f0 + + #FF000000 + #FF000000 + #FF000000 + + + #FF000000 + #FF000000 \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/Themes/Light.xaml b/src/modules/launcher/PowerLauncher/Themes/Light.xaml index a022b9300c..850f39a4ec 100644 --- a/src/modules/launcher/PowerLauncher/Themes/Light.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/Light.xaml @@ -26,10 +26,20 @@ - + - - - + + #FFa0a0a0 + #FF747474 + + #FFf0f0f0 + + #FF1d1d1d + #FF1d1d1d + #FFf3f3f3 + + + #FFd2d2d2 + #FF5d5d5d \ No newline at end of file