Xamarin Forms MasterPage can't reach desired width in all modes (split, popover, portrait, landcape)

Mohamed Amine Mabrouki 1 Reputation point
2021-07-01T10:06:49.3+00:00

my tablet layout parameters are 800 height and 1280 width. i want the Master page to reach the half of the screen (640 width) or a fixed width (ex:700) but it is limited and can't be set on more than 350(visual approximation).
if i fix width on 100, you can see that it is 100 width but when i fix it into 600 or 700, it is limited on 350 width.

110937-master-layout-parameters-rendering.png110938-master-page-display.png110939-width-100.png110945-width-100-master-display.png

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JarvanZhang 23,936 Reputation points
    2021-07-02T02:59:35.953+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Hi, MohamedAmineMabrouki. I created a basic demo to test the code, it works fine on phone but not on the tablet. Someone also face the similar issue and has reported the problem to the product team on github, you could check it. Or start a new topic thread to post your problem to seek for a solution.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments