Seems to ignore star - * - behaviour

Jul 29, 2013 at 4:50 AM
Edited Jul 29, 2013 at 5:07 AM
Hey, I really love the project. The only problem I have come up against is it seems to ignore star behaviour.

For example I could have the following grid
        <RowDefinition Height="*" />
        <RowDefinition Height="10" />
        <RowDefinition Height="*" />
    <TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AcceptReturn="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" />
    <DataGrid Grid.Row="2"></DataGrid>
Now usually if I was to hit return enough times the textbox's vertical scrollbar will appear, but now it starts to 'shrink' the datagrid. And vice versa, if I fill the datagrid with enough values that would usually make a scrollbar appear, it instead 'shrinks' the textbox.

Do you know what would cause this and anyway to prevent it from happening?

Thanks in advance

EDIT Never mind, it seems to happen in WPF, when a grid is inside a scrollviewer :)