RowDefinition or ColumnDefinition margins with WPF star (*)

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
ThibTib
Posts: 16
Joined: Tue May 31, 2016 10:34 am

RowDefinition or ColumnDefinition margins with WPF star (*)

Postby ThibTib » Sun Jan 29, 2017 3:42 am

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.
--
ThibTib

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

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

Postby JS-Support @Userware » Sun Jan 29, 2017 4:28 am

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

ThibTib
Posts: 16
Joined: Tue May 31, 2016 10:34 am

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

Postby ThibTib » Sun Jan 29, 2017 5:54 am

Ok thank you.
To be complete just in case, the problem is the same for width of columns.
--
ThibTib

ThibTib
Posts: 16
Joined: Tue May 31, 2016 10:34 am

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

Postby ThibTib » Thu Feb 16, 2017 6:47 am

Hi,

does this issue was resolved on the last review ?
--
ThibTib


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 39 guests

 

 

cron