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.