Skip to content

Commit

Permalink
Do not scale TreeViewItem chevron (#1418)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiguo authored Oct 10, 2019
1 parent 7d2cd79 commit a53a650
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev/TreeView/TreeViewItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,17 @@
FontSize="{TemplateBinding GlyphSize}" Text="{TemplateBinding CollapsedGlyph}"
FontFamily="{StaticResource SymbolThemeFontFamily}"
VerticalAlignment="Center"
AutomationProperties.AccessibilityView="Raw"/>
AutomationProperties.AccessibilityView="Raw"
IsTextScaleFactorEnabled="False" />
<TextBlock Foreground="{TemplateBinding GlyphBrush}"
Width="12" Height="12"
Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TreeViewItemTemplateSettings.ExpandedGlyphVisibility}"
FontSize="{TemplateBinding GlyphSize}"
Text="{TemplateBinding ExpandedGlyph}"
FontFamily="{StaticResource SymbolThemeFontFamily}"
VerticalAlignment="Center"
AutomationProperties.AccessibilityView="Raw"/>
AutomationProperties.AccessibilityView="Raw"
IsTextScaleFactorEnabled="False"/>
</Grid>

<ContentPresenter x:Name="ContentPresenter"
Expand Down

0 comments on commit a53a650

Please sign in to comment.