Browse Source
Merge pull request #3696 from AvaloniaUI/treeviewitem-header-stretch
Don't constrain header's ContentPresenter on TreeViewItem
pull/3698/head
Jumar Macato
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
src/Avalonia.Themes.Default/TreeViewItem.xaml
|
|
|
@ -17,8 +17,7 @@ |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" |
|
|
|
TemplatedControl.IsTemplateFocusTarget="True"> |
|
|
|
<Grid Name="PART_Header" |
|
|
|
ColumnDefinitions="16, Auto" |
|
|
|
HorizontalAlignment="Left" |
|
|
|
ColumnDefinitions="16, *" |
|
|
|
Margin="{TemplateBinding Level, Mode=OneWay, Converter={StaticResource LeftMarginConverter}}" > |
|
|
|
<ToggleButton Name="expander" |
|
|
|
Focusable="False" |
|
|
|
|