Skip to content

Commit 13fde58

Browse files
authored
Merge pull request #192 from GID0317/#140
Fix #140
2 parents a95509f + 19639e4 commit 13fde58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TreeViewPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<DataTemplate x:Key="FileTemplate">
2323
<StackPanel Orientation="Horizontal">
24-
<Image Width="20" Source="/Assets/file.png" />
24+
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Document}" FontSize="20"/>
2525
<TextBlock Margin="0,0,10,0" />
2626
<TextBlock Text="{Binding Name}" />
2727
</StackPanel>

source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/TreeViewPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ private void NotifyPropertyChanged(String propertyName)
348348
349349
<DataTemplate x:Key=""FileTemplate"">
350350
<StackPanel Orientation=""Horizontal"">
351-
<Image Width=""20"" Source=""/Assets/file.png"" />
351+
<ui:FontIcon Icon=""{{x:Static ui:SegoeFluentIcons.Document}}"" FontSize=""20""/>
352352
<TextBlock Margin=""0,0,10,0"" />
353353
<TextBlock Text=""{{Binding Name}}"" />
354354
</StackPanel>

0 commit comments

Comments
 (0)