Skip to content

Commit 672f792

Browse files
dphugoerikdarlingdataDaniel Hugo
authored
Added TextOptions.TextFormattingMode="Display" (#710)
UseLayoutRounding="True" to Windows that render graphs to remove blur on graph lines and legend text. Co-authored-by: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Co-authored-by: Daniel Hugo <Daniel.Hugo@multichoice.co.za>
1 parent 4707cd7 commit 672f792

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lite/MainWindow.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
WindowStartupLocation="CenterScreen"
99
WindowState="Maximized"
1010
Icon="EDD.ico"
11+
TextOptions.TextFormattingMode="Display"
12+
UseLayoutRounding="True"
1113
Background="{DynamicResource BackgroundBrush}">
1214
<Window.Resources>
1315
<ResourceDictionary>

Lite/Windows/ProcedureHistoryWindow.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF"
55
Title="Procedure Execution History" Width="1200" Height="800"
66
WindowStartupLocation="CenterOwner"
7+
TextOptions.TextFormattingMode="Display"
8+
UseLayoutRounding="True"
79
Background="{DynamicResource BackgroundBrush}">
810

911
<Window.Resources>

Lite/Windows/QueryStatsHistoryWindow.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF"
55
Title="Query Stats History" Width="1400" Height="800"
66
WindowStartupLocation="CenterOwner"
7+
TextOptions.TextFormattingMode="Display"
8+
UseLayoutRounding="True"
79
Background="{DynamicResource BackgroundBrush}">
810

911
<Window.Resources>

Lite/Windows/QueryStoreHistoryWindow.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xmlns:scottplot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF"
55
Title="Query Store History" Width="1200" Height="800"
66
WindowStartupLocation="CenterOwner"
7+
TextOptions.TextFormattingMode="Display"
8+
UseLayoutRounding="True"
79
Background="{DynamicResource BackgroundBrush}">
810

911
<Window.Resources>

0 commit comments

Comments
 (0)