Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Master Details Page problem, detail view stretch outside screen on iPad in landscape

$
0
0

Hi,

I'm having an issue when using the Master Detail Page in xamarin forms for iOS on iPad in landscape (don't know if issue appears on Android and WP).
In our Master Detail Page we've build a menu using a ListView in the Master section which change the Detail section based on the selection in the menu.
What we do is simply change Detail using "Detail = new NavigationView(newpage);" on the Select event of the ListView.

When the app starts everything looks right. On iPad in landscape the Master section is always visible. Once i select a new view using the menu, the navigationbar and toolbar of loaded view in the Detail section seems to get the full width of the iPad and thus is pushed outside the screen of the ipad

Here's an image when the app starts:
image

And here you can see how the same view looks when I've navigated in the app, as you can see the title isn't centered and the toolbar items are outside the screen to the right.
image

Anyone experience this and have a solution?

Best regards


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>