Browse Source

Merge pull request #2805 from Sorien/combo-hit-testing

Fix Combobox hit testing
pull/2809/head
Nikita Tsukanov 7 years ago
committed by GitHub
parent
commit
0fd1f99b13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/Avalonia.Themes.Default/ButtonSpinner.xaml
  2. 1
      src/Avalonia.Themes.Default/ComboBox.xaml

1
src/Avalonia.Themes.Default/ButtonSpinner.xaml

@ -1,5 +1,6 @@
<Styles xmlns="https://github.com/avaloniaui">
<Style Selector="ButtonSpinner">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/>
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/>
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>

1
src/Avalonia.Themes.Default/ComboBox.xaml

@ -1,5 +1,6 @@
<Styles xmlns="https://github.com/avaloniaui">
<Style Selector="ComboBox">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/>
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/>
<Setter Property="Padding" Value="4"/>

Loading…
Cancel
Save