Note: this problem was diagnosed after the changes in #2260 have been applied.
Given the following XAML in ControlCatalog.MainWIndow.xaml:
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="ControlCatalog.MainWindow"
Title="MainWindow" Width="880" Height="580">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="158" />
</Grid.ColumnDefinitions>
<Image Grid.Row="0" Source="/Assets/delicate-arch-896885_640.jpg" />
<Image Grid.Row="1" Source="/Assets/hirsch-899118_640.jpg" />
</Grid>
</Window>
There is a strange interaction between the Window width and the image width:

From the single grid column of a fixed size, it should be that the images maintain the same size as they should be stretched to the column width of 158 and take up the height they need due to the row height of "Auto", however that's not happening.
I believe this is a bug in Grid.
cc: @walterlv
Hello! Now I do not observe similar behavior. These lines were previously deleted



This is probably fixed in my WPF Grid import...
Most helpful comment
This is probably fixed in my WPF Grid import...