Skip to content

Commit

Permalink
fixes #1894
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Oct 14, 2019
1 parent b302ae7 commit 0c35b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Xamarin/Prism.Forms/Services/Dialogs/DialogService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Prism.AppModel;
using Prism.AppModel;
using Prism.Common;
using Prism.Ioc;
using Prism.Mvvm;
Expand Down Expand Up @@ -287,10 +287,10 @@ private void InsertPopupViewInCurrentPage(ContentPage currentPage, View popupVie
var relativeHeight = DialogLayout.GetRelativeHeightRequest(popupView);
if (relativeHeight != null)
{
popupContainer.SetBinding(DialogContainer.WidthRequestProperty,
popupContainer.SetBinding(DialogContainer.HeightRequestProperty,
new Binding("Height",
BindingMode.OneWay,
new RelativeContentSizeConverter { RelativeSize = relativeWidth.Value },
new RelativeContentSizeConverter { RelativeSize = relativeHeight.Value },
source: currentPage));
}

Expand Down

0 comments on commit 0c35b6b

Please sign in to comment.