Browse Source
Merge pull request #4549 from AvaloniaUI/fixes/expander-glyph
fix expander as not easy to click on, and glyph not visible on fluent…
pull/4552/head
Jumar Macato
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/Avalonia.Themes.Default/Expander.xaml
-
src/Avalonia.Themes.Fluent/Expander.xaml
|
|
|
@ -86,7 +86,7 @@ |
|
|
|
<Style Selector="Expander /template/ ToggleButton#PART_toggle"> |
|
|
|
<Setter Property="Template"> |
|
|
|
<ControlTemplate> |
|
|
|
<Border BorderThickness="1"> |
|
|
|
<Border BorderThickness="1" Background="Transparent"> |
|
|
|
<Grid ColumnDefinitions="Auto,Auto"> |
|
|
|
<Border Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|
|
|
<Path Fill="{DynamicResource ThemeForegroundBrush}" |
|
|
|
|
|
|
|
@ -86,10 +86,10 @@ |
|
|
|
<Style Selector="Expander /template/ ToggleButton#PART_toggle"> |
|
|
|
<Setter Property="Template"> |
|
|
|
<ControlTemplate> |
|
|
|
<Border BorderThickness="1"> |
|
|
|
<Border BorderThickness="1" Background="Transparent"> |
|
|
|
<Grid ColumnDefinitions="Auto,Auto"> |
|
|
|
<Border Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|
|
|
<Path Fill="{DynamicResource SystemControlForegroundAltMediumHighBrush}" |
|
|
|
<Path Fill="{DynamicResource SystemControlForegroundBaseHighBrush}" |
|
|
|
HorizontalAlignment="Center" |
|
|
|
VerticalAlignment="Center" |
|
|
|
Data="M 0 2 L 4 6 L 0 10 Z" /> |
|
|
|
|