Skip to content

Commit

Permalink
added icons to texture page browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Romualdo666 committed Oct 5, 2024
1 parent dc60c8c commit c9d8045
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion UndertaleModTool/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,14 @@
<TreeViewItem Header="Texture page items" ItemsSource="{Binding TexturePageItems, Converter={StaticResource FilteredViewConverter}}" Visibility="{Binding TexturePageItems, Converter={StaticResource VisibleIfNotNull}}">
<TreeViewItem.ItemTemplate>
<HierarchicalDataTemplate DataType="{x:Type undertale:UndertaleTexturePageItem}">
<TextBlock Text="{Binding .}" />
<Grid>
<TextBlock Text="{Binding .}" Margin="22,0,0,0"/>
<Viewbox Stretch="Uniform" StretchDirection="DownOnly" Width="20" Height="20" HorizontalAlignment="Left">
<Border>
<local:UndertaleTexturePageItemDisplay x:Name="ItemDisplay" DisplayBorder="False"/>
</Border>
</Viewbox>
</Grid>
</HierarchicalDataTemplate>
</TreeViewItem.ItemTemplate>
</TreeViewItem>
Expand Down

0 comments on commit c9d8045

Please sign in to comment.