Skip to content

Commit

Permalink
horizontal scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegiacometti committed Jun 15, 2023
1 parent 9636f44 commit 90f2fd3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/modules/peek/Peek.FilePreviewer/Controls/ArchiveControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,17 @@
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TreeView
x:Name="ArchivePreview"
<ScrollViewer
Grid.Row="0"
ItemsSource="{x:Bind Source, Mode=OneWay}"
ItemTemplateSelector="{StaticResource ArchiveItemTemplateSelector}"
SelectionMode="None"
CanReorderItems="False"
CanDragItems="False" />
HorizontalScrollBarVisibility="Auto">
<TreeView
x:Name="ArchivePreview"
ItemsSource="{x:Bind Source, Mode=OneWay}"
ItemTemplateSelector="{StaticResource ArchiveItemTemplateSelector}"
SelectionMode="None"
CanReorderItems="False"
CanDragItems="False" />
</ScrollViewer>
<Border
Grid.Row="1"
MinWidth="300"
Expand Down

0 comments on commit 90f2fd3

Please sign in to comment.