Resizing will work based on min and not max width, height values

This commit is contained in:
erri120 2019-10-09 13:29:41 +02:00
parent fef113f528
commit 1bbf77cb9b
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -12,21 +12,21 @@
ResizeMode="CanResize"
Closing="Window_Closing">
<Viewbox Stretch="Uniform">
<Grid Width="1280" Height="960">
<!--<Grid Margin="16" ShowGridLines="True">-->
<!--<Grid Width="1280" Height="960">-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="460"/>
<RowDefinition Height="*"/>
<RowDefinition Height="10" />
<RowDefinition Height="Auto" />
<RowDefinition />
<RowDefinition MinHeight="320"/>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="640"/>
<ColumnDefinition Width="640"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0, 8, 0, 8">