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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
src/Avalonia.Themes.Default/ButtonSpinner.xaml
-
src/Avalonia.Themes.Default/ComboBox.xaml
|
|
@ -1,5 +1,6 @@ |
|
|
<Styles xmlns="https://github.com/avaloniaui"> |
|
|
<Styles xmlns="https://github.com/avaloniaui"> |
|
|
<Style Selector="ButtonSpinner"> |
|
|
<Style Selector="ButtonSpinner"> |
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/> |
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
|
|
|
|
|
@ -1,5 +1,6 @@ |
|
|
<Styles xmlns="https://github.com/avaloniaui"> |
|
|
<Styles xmlns="https://github.com/avaloniaui"> |
|
|
<Style Selector="ComboBox"> |
|
|
<Style Selector="ComboBox"> |
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/> |
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|
|
<Setter Property="Padding" Value="4"/> |
|
|
<Setter Property="Padding" Value="4"/> |
|
|
|