Skip to content

Commit

Permalink
Set a fixed width in thumbnail comparer
Browse files Browse the repository at this point in the history
Fixes #494
  • Loading branch information
0x90d authored Jun 19, 2024
1 parent 2a9b481 commit 32b9d54
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions VDF.GUI/Views/ThumbnailComparer.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<Image IsVisible="{Binding !IsLoadingThumbnail}" Source="{Binding Thumbnail}" />
<TextBlock Text="{Binding Item.ItemInfo.Path}" TextWrapping="Wrap" />
<Image
MaxWidth="80"
IsVisible="{Binding !IsLoadingThumbnail}"
Source="{Binding Thumbnail}"
Stretch="Uniform" />
<TextBlock
MaxWidth="80"
Text="{Binding Item.ItemInfo.Path}"
TextWrapping="Wrap" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
Expand Down

0 comments on commit 32b9d54

Please sign in to comment.