From 5bb41ed65fd523255620b277c81f2a8ec819a45d Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 14 Jun 2024 15:46:52 +0800 Subject: [PATCH] ux: new style for NumericUpDown --- src/Resources/Styles.axaml | 23 +++++++++++++++++++++++ src/Views/Preference.axaml | 30 ++---------------------------- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index d3eda4e1..8ef8a265 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -26,6 +26,11 @@ + + + + + + + + + + + diff --git a/src/Views/Preference.axaml b/src/Views/Preference.axaml index d86b0b95..037b6353 100644 --- a/src/Views/Preference.axaml +++ b/src/Views/Preference.axaml @@ -200,20 +200,7 @@ Padding="4" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" CornerRadius="3" - Value="{Binding DefaultFontSize, Mode=TwoWay}"> - - - - - + Value="{Binding DefaultFontSize, Mode=TwoWay}"/> - - - - - + Value="{Binding GitAutoFetchInterval, Mode=TwoWay, FallbackValue=10}"/>