From 855bc7d1caa59710a451b51a8b3f6812d534005e Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Wed, 14 Nov 2018 12:52:53 +0000 Subject: [PATCH 1/5] Fix ButtonSpinner styles --- .../ButtonSpinner.xaml | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/Avalonia.Themes.Default/ButtonSpinner.xaml b/src/Avalonia.Themes.Default/ButtonSpinner.xaml index ddeef44011..5417d5fb0b 100644 --- a/src/Avalonia.Themes.Default/ButtonSpinner.xaml +++ b/src/Avalonia.Themes.Default/ButtonSpinner.xaml @@ -1,17 +1,17 @@ - + + From 8b0c81ac3d194ab203a9f733b4c3a9dd3abc53b3 Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Wed, 14 Nov 2018 12:53:37 +0000 Subject: [PATCH 2/5] Fix NumericUpDown styles --- .../NumericUpDown.xaml | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/Avalonia.Themes.Default/NumericUpDown.xaml b/src/Avalonia.Themes.Default/NumericUpDown.xaml index 8c5594cee8..0433d6734b 100644 --- a/src/Avalonia.Themes.Default/NumericUpDown.xaml +++ b/src/Avalonia.Themes.Default/NumericUpDown.xaml @@ -1,10 +1,9 @@ + \ No newline at end of file From 98eb338b8dfdb424ec85933351ae0f2850dc33a0 Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Wed, 14 Nov 2018 13:26:17 +0000 Subject: [PATCH 3/5] Updated NumericUpDown style --- src/Avalonia.Themes.Default/NumericUpDown.xaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Avalonia.Themes.Default/NumericUpDown.xaml b/src/Avalonia.Themes.Default/NumericUpDown.xaml index 0433d6734b..24cbb62908 100644 --- a/src/Avalonia.Themes.Default/NumericUpDown.xaml +++ b/src/Avalonia.Themes.Default/NumericUpDown.xaml @@ -1,8 +1,9 @@ From f01fa29aecf787348d294fc2ad3d991d60e11bf2 Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Wed, 14 Nov 2018 13:28:03 +0000 Subject: [PATCH 4/5] Do not set Height --- samples/ControlCatalog/Pages/NumericUpDownPage.xaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/ControlCatalog/Pages/NumericUpDownPage.xaml b/samples/ControlCatalog/Pages/NumericUpDownPage.xaml index 2bb6214b58..9b66500a2a 100644 --- a/samples/ControlCatalog/Pages/NumericUpDownPage.xaml +++ b/samples/ControlCatalog/Pages/NumericUpDownPage.xaml @@ -52,19 +52,19 @@ Minimum: + CultureInfo="{Binding #upDown.CultureInfo}" VerticalAlignment="Center" Margin="2" Width="70" HorizontalAlignment="Center"/> Maximum: + CultureInfo="{Binding #upDown.CultureInfo}" VerticalAlignment="Center" Margin="2" Width="70" HorizontalAlignment="Center"/> Increment: + Margin="2" Width="70" HorizontalAlignment="Center"/> Value: + Margin="2" Width="70" HorizontalAlignment="Center"/> @@ -72,7 +72,7 @@ Usage of NumericUpDown: From 811adc17b4f330a62e56451687aab78b70c5e0a8 Mon Sep 17 00:00:00 2001 From: wieslawsoltes Date: Wed, 14 Nov 2018 13:39:02 +0000 Subject: [PATCH 5/5] Use auto row height --- samples/ControlCatalog/Pages/NumericUpDownPage.xaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/ControlCatalog/Pages/NumericUpDownPage.xaml b/samples/ControlCatalog/Pages/NumericUpDownPage.xaml index 9b66500a2a..e263f59b8d 100644 --- a/samples/ControlCatalog/Pages/NumericUpDownPage.xaml +++ b/samples/ControlCatalog/Pages/NumericUpDownPage.xaml @@ -6,7 +6,7 @@ Features: - + ShowButtonSpinner: @@ -20,7 +20,7 @@ - + FormatString: @@ -49,7 +49,7 @@ Text: - + Minimum: