From cc0b808962baac49b1911586800e9b17527bdfbc Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Thu, 20 Aug 2020 21:45:55 -0700 Subject: [PATCH] Blurry Text for PT Run improvements (#6049) * Checking in adjustments based off @anuthadev pr's * Forcing an improvement on the magnifier glass * removing whitespace --- .../PowerLauncher/LauncherControl.xaml | 51 +++++++++++-------- .../launcher/PowerLauncher/MainWindow.xaml | 44 ++++++++-------- .../launcher/PowerLauncher/ResultList.xaml | 26 +++++----- 3 files changed, 66 insertions(+), 55 deletions(-) diff --git a/src/modules/launcher/PowerLauncher/LauncherControl.xaml b/src/modules/launcher/PowerLauncher/LauncherControl.xaml index bf1a888948..5eac92c697 100644 --- a/src/modules/launcher/PowerLauncher/LauncherControl.xaml +++ b/src/modules/launcher/PowerLauncher/LauncherControl.xaml @@ -4,13 +4,12 @@ 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:local="clr-namespace:PowerLauncher" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="720"> - - - @@ -75,22 +82,10 @@ - - - - + + Foreground="{DynamicResource TextControlPlaceholderForeground}" + RenderOptions.ClearTypeHint="Enabled" + TextOptions.TextRenderingMode="Auto" + SnapsToDevicePixels="True"/> \ No newline at end of file diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml b/src/modules/launcher/PowerLauncher/MainWindow.xaml index e85a426539..78f14c64eb 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml @@ -10,6 +10,8 @@ Topmost="True" SizeToContent="Height" ResizeMode="NoResize" + TextOptions.TextRenderingMode="ClearType" + RenderOptions.ClearTypeHint="Enabled" WindowStyle="None" WindowStartupLocation="Manual" AllowDrop="True" @@ -24,6 +26,7 @@ Deactivated="OnDeactivated" IsVisibleChanged="OnVisibilityChanged" Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" + d:DataContext="{d:DesignInstance vm:MainViewModel}"> @@ -52,17 +55,15 @@ - - - - + Margin="24,24,24,24"> + + + + + - - + + Grid.Row="1" + Margin="24,-8,24,24" + Visibility="{Binding Results.Visibility}"> - - - + + + + + - + + diff --git a/src/modules/launcher/PowerLauncher/ResultList.xaml b/src/modules/launcher/PowerLauncher/ResultList.xaml index 187a0cc892..1fd2f7c74b 100644 --- a/src/modules/launcher/PowerLauncher/ResultList.xaml +++ b/src/modules/launcher/PowerLauncher/ResultList.xaml @@ -71,7 +71,7 @@ - + @@ -95,6 +95,7 @@