diff --git a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPicker.xaml b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPicker.xaml index 102d208ed1..c2535086fa 100644 --- a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPicker.xaml +++ b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorPicker.xaml @@ -103,7 +103,8 @@ - + @@ -168,7 +169,8 @@ - + @@ -203,7 +205,8 @@ - + @@ -264,6 +267,8 @@ AutomationProperties.Name="Hexadecimal Color" Height="32" MaxLength="9" + Padding="10,6,6,5" + VerticalContentAlignment="Center" HorizontalAlignment="Stretch" CornerRadius="0,0,0,0" /> diff --git a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorView.xaml b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorView.xaml index 725c94b10f..942d4e5a03 100644 --- a/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorView.xaml +++ b/src/Avalonia.Controls.ColorPicker/Themes/Simple/ColorView.xaml @@ -306,7 +306,8 @@ - + @@ -371,7 +372,8 @@ - + @@ -406,7 +408,8 @@ - + @@ -467,6 +470,8 @@ AutomationProperties.Name="Hexadecimal Color" Height="32" MaxLength="9" + Padding="10,6,6,5" + VerticalContentAlignment="Center" HorizontalAlignment="Stretch" CornerRadius="0,0,0,0" /> diff --git a/src/Avalonia.Themes.Simple/Controls/NumericUpDown.xaml b/src/Avalonia.Themes.Simple/Controls/NumericUpDown.xaml index 83db5ca98a..78510f6557 100644 --- a/src/Avalonia.Themes.Simple/Controls/NumericUpDown.xaml +++ b/src/Avalonia.Themes.Simple/Controls/NumericUpDown.xaml @@ -14,6 +14,8 @@ HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsTabStop="False" + Padding="0" + MinWidth="0" AllowSpin="{TemplateBinding AllowSpin}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" @@ -25,6 +27,7 @@ MinWidth="20" Margin="4" Padding="{TemplateBinding Padding}" + ScrollViewer.VerticalScrollBarVisibility="Disabled" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" AcceptsReturn="False"