From e2479254725fafe8c365f7cd18c3311c4b460037 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sat, 12 Oct 2024 14:25:24 +0200 Subject: [PATCH] Controls: Fix blurry borders when system scaling is enabled --- Elwig/Controls/IntegerUpDown.xaml | 7 ++++--- Elwig/Controls/UnitTextBox.xaml | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Elwig/Controls/IntegerUpDown.xaml b/Elwig/Controls/IntegerUpDown.xaml index 80fe342..fcf98c9 100644 --- a/Elwig/Controls/IntegerUpDown.xaml +++ b/Elwig/Controls/IntegerUpDown.xaml @@ -15,9 +15,8 @@ - + @@ -43,6 +42,8 @@ + + diff --git a/Elwig/Controls/UnitTextBox.xaml b/Elwig/Controls/UnitTextBox.xaml index bf3667c..abbabbb 100644 --- a/Elwig/Controls/UnitTextBox.xaml +++ b/Elwig/Controls/UnitTextBox.xaml @@ -7,8 +7,7 @@ + BorderBrush="{Binding Path=BorderBrush, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}"> @@ -32,6 +31,8 @@ + +