Topic Author
Posts: 33
Joined: 07 Mar 2015, 01:58

Grid Bug

08 Mar 2015, 16:00

I think i found a bug in how grids work in 1.2. I have a setup similar to this.

            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />

        <ScrollViewer Grid.Column="0" Grid.Row="0" Height="5000">

        <StackPanel Grid.Column="0" Grid.Row="1">
            <Button Content="Save Planet" Margin="2"/>
            <Button Content="Revert Planet" Margin="2"/>
            <Button Content="Randomize Planet" Margin="2"/>

My scroll viewer is full of expanders, but for a test just set the height something silly big and it will show the problem. Normally this should show an empty cell up top and some buttons stacked at the bottom of the screen, no matter how big the ScrollView height is I should still see the buttons stacked at the bottom, but I do not. In my production code my expanders expand and push the botton out of the screen. This seems like a bug to me as content in the cell shouldn't resize the bottom cell.
Topic Author
Posts: 33
Joined: 07 Mar 2015, 01:58

Re: Grid Bug

08 Mar 2015, 16:02

If i set an explicit height for the bottom row it works fine. Seems like a layout issues with auto.
User avatar
Site Admin
Posts: 2062
Joined: 22 Dec 2011, 19:20

Re: Grid Bug

09 Mar 2015, 20:06

Confirmed, I was able to reproduce it.
We will take a look and fix it as soon as possible.

Thanks for reporting.

Who is online

Users browsing this forum: Google [Bot] and 0 guests