From 914db3fdc740142a93dcd7bbc3511f04177ab82e Mon Sep 17 00:00:00 2001 From: Daniel Hugo Date: Thu, 26 Mar 2026 13:17:07 +0200 Subject: [PATCH] Added TextOptions.TextFormattingMode="Display" UseLayoutRounding="True" to Windows that render graphs to remove blur on graph lines and legend text. --- Lite/MainWindow.xaml | 2 ++ Lite/Windows/ProcedureHistoryWindow.xaml | 2 ++ Lite/Windows/QueryStatsHistoryWindow.xaml | 2 ++ Lite/Windows/QueryStoreHistoryWindow.xaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/Lite/MainWindow.xaml b/Lite/MainWindow.xaml index 1bd09ca9..3437709a 100644 --- a/Lite/MainWindow.xaml +++ b/Lite/MainWindow.xaml @@ -8,6 +8,8 @@ WindowStartupLocation="CenterScreen" WindowState="Maximized" Icon="EDD.ico" + TextOptions.TextFormattingMode="Display" + UseLayoutRounding="True" Background="{DynamicResource BackgroundBrush}"> diff --git a/Lite/Windows/ProcedureHistoryWindow.xaml b/Lite/Windows/ProcedureHistoryWindow.xaml index 67292025..de29f1f8 100644 --- a/Lite/Windows/ProcedureHistoryWindow.xaml +++ b/Lite/Windows/ProcedureHistoryWindow.xaml @@ -4,6 +4,8 @@ xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF" Title="Procedure Execution History" Width="1200" Height="800" WindowStartupLocation="CenterOwner" + TextOptions.TextFormattingMode="Display" + UseLayoutRounding="True" Background="{DynamicResource BackgroundBrush}"> diff --git a/Lite/Windows/QueryStatsHistoryWindow.xaml b/Lite/Windows/QueryStatsHistoryWindow.xaml index 11158bd9..fc1e0c01 100644 --- a/Lite/Windows/QueryStatsHistoryWindow.xaml +++ b/Lite/Windows/QueryStatsHistoryWindow.xaml @@ -4,6 +4,8 @@ xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF" Title="Query Stats History" Width="1400" Height="800" WindowStartupLocation="CenterOwner" + TextOptions.TextFormattingMode="Display" + UseLayoutRounding="True" Background="{DynamicResource BackgroundBrush}"> diff --git a/Lite/Windows/QueryStoreHistoryWindow.xaml b/Lite/Windows/QueryStoreHistoryWindow.xaml index 4d520d25..b1beb05e 100644 --- a/Lite/Windows/QueryStoreHistoryWindow.xaml +++ b/Lite/Windows/QueryStoreHistoryWindow.xaml @@ -4,6 +4,8 @@ xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF" Title="Query Store History" Width="1200" Height="800" WindowStartupLocation="CenterOwner" + TextOptions.TextFormattingMode="Display" + UseLayoutRounding="True" Background="{DynamicResource BackgroundBrush}">