diff options
author | Jimmy Garrido <jimmygarrido@outlook.com> | 2016-12-16 17:08:03 -0800 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-12-17 01:08:03 +0000 |
commit | 6c8abfdc14138bb803272497b0f97793106acb08 (patch) | |
tree | 551ebabc66e998516afa36ce8d10b0d87762212e /Xamarin.Forms.Platform.WinRT.Phone | |
parent | 3216ce4ccd096f8b9f909bbeea572dcf2a8c4466 (diff) | |
download | xamarin-forms-6c8abfdc14138bb803272497b0f97793106acb08.tar.gz xamarin-forms-6c8abfdc14138bb803272497b0f97793106acb08.tar.bz2 xamarin-forms-6c8abfdc14138bb803272497b0f97793106acb08.zip |
[Windows] Fix modal pages being laid out below soft buttons (#395)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT.Phone')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs b/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs index 7564e673..524463f6 100644 --- a/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs +++ b/Xamarin.Forms.Platform.WinRT.Phone/WindowsPhonePlatform.cs @@ -14,18 +14,6 @@ namespace Xamarin.Forms.Platform.WinRT _status.Hiding += OnStatusBarHiding; } - internal override Rectangle WindowBounds - { - get - { - bool landscape = Device.Info.CurrentOrientation.IsLandscape (); - double offset = (landscape) ? _status.OccludedRect.Width : _status.OccludedRect.Height; - - Rectangle original = base.WindowBounds; - return new Rectangle (original.X, original.Y, original.Width - ((landscape) ? offset : 0), original.Height - ((landscape) ? 0 : offset)); - } - } - readonly StatusBar _status; void OnStatusBarHiding (StatusBar sender, object args) |