From a60a0afaeb57c63b40674aa6022026131f4f7787 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Thu, 19 Mar 2020 16:03:53 +0100 Subject: [PATCH] fix: Use Uno specific chevron symbol for collapse/expand in TreeView --- .../UI/Xaml/Controls/TreeView/TreeViewItem.Properties.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Uno.UI/Microsoft/UI/Xaml/Controls/TreeView/TreeViewItem.Properties.cs b/src/Uno.UI/Microsoft/UI/Xaml/Controls/TreeView/TreeViewItem.Properties.cs index 1ee83c9a2673..a0efd3209b4b 100644 --- a/src/Uno.UI/Microsoft/UI/Xaml/Controls/TreeView/TreeViewItem.Properties.cs +++ b/src/Uno.UI/Microsoft/UI/Xaml/Controls/TreeView/TreeViewItem.Properties.cs @@ -60,10 +60,10 @@ public TreeViewItemTemplateSettings TreeViewItemTemplateSettings } public static readonly DependencyProperty CollapsedGlyphProperty = - DependencyProperty.Register(nameof(CollapsedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE76C")); + DependencyProperty.Register(nameof(CollapsedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE0E3")); // UWP uses uE76C public static readonly DependencyProperty ExpandedGlyphProperty = - DependencyProperty.Register(nameof(ExpandedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE70D")); + DependencyProperty.Register(nameof(ExpandedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE0E5")); // UWP uses uE70D public static readonly DependencyProperty GlyphBrushProperty = DependencyProperty.Register(nameof(GlyphBrush), typeof(Brush), typeof(TreeViewItem), new PropertyMetadata(null)); @@ -72,7 +72,7 @@ public TreeViewItemTemplateSettings TreeViewItemTemplateSettings DependencyProperty.Register(nameof(GlyphOpacity), typeof(double), typeof(TreeViewItem), new PropertyMetadata(1.0)); public static readonly DependencyProperty GlyphSizeProperty = - DependencyProperty.Register(nameof(GlyphSize), typeof(double), typeof(TreeViewItem), new PropertyMetadata(0)); + DependencyProperty.Register(nameof(GlyphSize), typeof(double), typeof(TreeViewItem), new PropertyMetadata(12.0)); public static readonly DependencyProperty HasUnrealizedChildrenProperty = DependencyProperty.Register(nameof(HasUnrealizedChildren), typeof(bool), typeof(TreeViewItem), new PropertyMetadata(false, OnHasUnrealizedChildrenPropertyChanged));