Page 1 of 1

RowDefinition or ColumnDefinition margins with WPF star (*)

Posted: Sun Jan 29, 2017 3:42 am
by ThibTib
Hi,

I have a problem with my interface.
In order to be fully compatible with every kind of devices (speaking of different sizes of screens), I would like to define every columns and rows of my grids using the star feature (*) as in WPF, like that for example :

Code: Select all

<Grid VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <!--margin-->
            <RowDefinition Height="5*" />
            <!--Profile and Highscore buttons-->
            <RowDefinition Height="7*" />
            <!--margin-->
            <RowDefinition Height="1.1*" />
            <!--Logo-->
            <RowDefinition Height="26*" />
            <!--Last news label-->
            <RowDefinition Height="6*" />
            <!--News-->
            <RowDefinition Height="23*" />
            <!--Margin-->
            <RowDefinition Height="4*" />
            <!--Big buttons-->
            <RowDefinition Height="25.2*" />
            <!--Margin-->
            <RowDefinition Height="2.7" />
        </Grid.RowDefinitions>


Unfortunately, it seems that every rows used for margin have a height of 0 when running.
Is it possible to use grid definition like in pure WPF like that ? The behavior seems different.

Re: RowDefinition or ColumnDefinition margins with WPF star (*)

Posted: Sun Jan 29, 2017 4:28 am
by JS-Support @Userware
Hi ThibTib,

Thanks for reporting this issue.

We have been able to reproduce it and we are going to investigate it.

I'll keep you updated.

Regards,
JS-Support

Re: RowDefinition or ColumnDefinition margins with WPF star (*)

Posted: Sun Jan 29, 2017 5:54 am
by ThibTib
Ok thank you.
To be complete just in case, the problem is the same for width of columns.

Re: RowDefinition or ColumnDefinition margins with WPF star (*)

Posted: Thu Feb 16, 2017 6:47 am
by ThibTib
Hi,

does this issue was resolved on the last review ?