diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs index 83123f7110..802640f683 100644 --- a/installer/PowerToysSetup/Product.wxs +++ b/installer/PowerToysSetup/Product.wxs @@ -889,7 +889,7 @@ - + diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs index d07715b0d5..cbd6fbe728 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Program/Programs/UWPApplication.cs @@ -634,7 +634,7 @@ namespace Microsoft.Plugin.Program.Programs var brush = new SolidColorBrush(color); var pen = new Pen(brush, 1); var backgroundArea = new Rect(0, 0, width, height); - var rectangleGeometry = new RectangleGeometry(backgroundArea); + var rectangleGeometry = new RectangleGeometry(backgroundArea, 8, 8); var rectDrawing = new GeometryDrawing(brush, pen, rectangleGeometry); group.Children.Add(rectDrawing); diff --git a/src/modules/launcher/PowerLauncher/App.xaml b/src/modules/launcher/PowerLauncher/App.xaml index 22cbfd0b10..c77c33ddbc 100644 --- a/src/modules/launcher/PowerLauncher/App.xaml +++ b/src/modules/launcher/PowerLauncher/App.xaml @@ -2,13 +2,15 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:theming="clr-namespace:Microsoft.PowerToys.Common.UI;assembly=Microsoft.PowerToys.Common.UI" + xmlns:ui="http://schemas.modernwpf.com/2019" ShutdownMode="OnMainWindowClose" Startup="OnStartup"> - + + diff --git a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj index 00ac373f7b..44fdefbdc3 100644 --- a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj +++ b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj @@ -102,6 +102,7 @@ + all diff --git a/src/modules/launcher/PowerLauncher/ReportWindow.xaml b/src/modules/launcher/PowerLauncher/ReportWindow.xaml index adceb45cad..d5c3a020c4 100644 --- a/src/modules/launcher/PowerLauncher/ReportWindow.xaml +++ b/src/modules/launcher/PowerLauncher/ReportWindow.xaml @@ -1,27 +1,23 @@  - - - - - - - - + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:p="clr-namespace:PowerLauncher.Properties" + xmlns:ui="http://schemas.modernwpf.com/2019" + mc:Ignorable="d" + WindowStartupLocation="CenterScreen" + Background="{DynamicResource SystemChromeLow}" + Topmost="True" + ui:WindowHelper.UseModernWindowStyle="True" + ResizeMode="NoResize" + Width="760" + Height="560" + Title="{x:Static p:Resources.reportWindow_wox_got_an_error}" + d:DesignHeight="300" + d:DesignWidth="600" + x:ClassModifier="internal"> + @@ -54,17 +50,15 @@ BorderThickness="0" Grid.Row="2" x:Name="LogFilePathBox" - Margin="0,16,0,0" + Margin="-8,16,-8,16" FontSize="14" FontFamily="Consolas" Foreground="{DynamicResource ControlTextBrushKey}" IsReadOnly="True" - TextWrapping="Wrap"> - + TextWrapping="Wrap"/> - - - - - - @@ -235,16 +204,15 @@ - + @@ -317,9 +285,6 @@ diff --git a/src/modules/launcher/PowerLauncher/Styles/ModernScrollBarStyle.xaml b/src/modules/launcher/PowerLauncher/Styles/ModernScrollBarStyle.xaml deleted file mode 100644 index d346dc3dea..0000000000 --- a/src/modules/launcher/PowerLauncher/Styles/ModernScrollBarStyle.xaml +++ /dev/null @@ -1,339 +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 797fd0536f..7ee5c17597 100644 --- a/src/modules/launcher/PowerLauncher/Themes/Dark.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/Dark.xaml @@ -29,22 +29,4 @@ - - - #FF767676 - #FFa4a4a4 - - #FF1b1b1b - - - #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 884915cf18..9a7d803fa5 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml @@ -29,22 +29,4 @@ - - - #FF008000 - #FF008000 - - #FF000000 - - - #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 c9c8e63841..9ee88a06bd 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrast2.xaml @@ -29,22 +29,4 @@ - - - #FF0000ff - #FF0000ff - - #FF000000 - - - #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 c43db5ee5b..02ef4ea5ff 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrastBlack.xaml @@ -29,22 +29,4 @@ - - - #FF0ca7b6 - #FF0ca7b6 - - #FF000000 - - - #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 aad036fddd..7630e4ee39 100644 --- a/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/HighContrastWhite.xaml @@ -29,22 +29,4 @@ - - - #FF9a59db - #FF9a59db - - #FFf0f0f0 - - - #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 fb4bc5cdbf..9c063003d6 100644 --- a/src/modules/launcher/PowerLauncher/Themes/Light.xaml +++ b/src/modules/launcher/PowerLauncher/Themes/Light.xaml @@ -29,22 +29,4 @@ - - - #FFa0a0a0 - #FF747474 - - #FFf0f0f0 - - - #FF1d1d1d - #FFf3f3f3 - - - #FFd2d2d2 - #FF5d5d5d - - - - \ No newline at end of file