diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml b/src/modules/launcher/PowerLauncher/MainWindow.xaml index 5c20c2f30416..ce3daa4c8f9e 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml @@ -27,109 +27,111 @@ WindowStartupLocation="Manual" WindowStyle="None" mc:Ignorable="d"> - - - - - - - - - - - - + + - + + - - + + + - + - - - - - - - - - - - - - + MaxHeight="{Binding Results.MaxHeight}" + Visibility="{Binding PluginsOverviewVisibility}"> + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + Text="{Binding Plugin.Description}" + TextTrimming="CharacterEllipsis" + TextWrapping="Wrap" /> + + + + + - + - + + diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs index 6bc9ac3b4d87..f627116126eb 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs @@ -200,6 +200,11 @@ private void OnSourceInitialized(object sender, EventArgs e) DWM_WINDOW_CORNER_PREFERENCE preference = DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUND; DwmSetWindowAttribute(hWnd, attribute, ref preference, sizeof(uint)); } + else + { + // On Windows10 ResizeMode="NoResize" removes the border so we add a new one. + MainBorder.BorderThickness = new System.Windows.Thickness(0.5); + } } private void OnLoaded(object sender, RoutedEventArgs e)