OnIdiom not picked up by Designer

NielsCupNielsCup NLMember ✭✭✭

Hi I am trying to set the width and height of a grid with OnIdiom like this:

<Grid x:Name="myUglyGrid" BackgroundColor="Aqua">
    <Grid.WidthRequest>
        <OnIdiom x:TypeArguments="x:Double" Phone="46" Tablet="1"/>
    </Grid.WidthRequest>
    <Grid.HeightRequest>
        <OnIdiom x:TypeArguments="x:Double" Phone="46" Tablet="1"/>
    </Grid.HeightRequest>
</Grid>

If I run this code on a device iPad or iPhone, then the different sizes for Phone or Tables are correct, but the designer in Visual Studio Mac (7.3.2) does not show this difference, it only shows the Phone size. Is this a know issue or am I doing something wrong?

Thanks!

Sign In or Register to comment.