Skip to content

Commit 4b2700c

Browse files
authored
Added support for expanding the preview pane further than 400px (#7920)
1 parent 89c5034 commit 4b2700c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/Files/Views/MainPage.xaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -355,21 +355,15 @@
355355
SizeChanged="RootGrid_SizeChanged">
356356
<Grid.RowDefinitions>
357357
<RowDefinition Height="Auto" />
358-
<RowDefinition Height="*" />
358+
<RowDefinition Height="*" MinHeight="100" />
359359
<RowDefinition Height="Auto" />
360-
<RowDefinition
361-
x:Name="PreviewPaneRow"
362-
Height="0"
363-
MaxHeight="250" />
360+
<RowDefinition x:Name="PreviewPaneRow" Height="Auto" />
364361
<RowDefinition Height="32" />
365362
</Grid.RowDefinitions>
366363
<Grid.ColumnDefinitions>
367-
<ColumnDefinition Width="3*" />
364+
<ColumnDefinition Width="3*" MinWidth="100" />
368365
<ColumnDefinition Width="Auto" />
369-
<ColumnDefinition
370-
x:Name="PreviewPaneColumn"
371-
Width="0"
372-
MaxWidth="400" />
366+
<ColumnDefinition x:Name="PreviewPaneColumn" Width="Auto" />
373367
</Grid.ColumnDefinitions>
374368

375369
<controls:InnerNavigationToolbar

0 commit comments

Comments
 (0)