fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Maui.Handlers;
|
||||
using Microsoft.Maui.Layouts;
|
||||
using Microsoft.Maui.Platform;
|
||||
|
||||
namespace Mopups.Platforms.Windows
|
||||
@@ -9,6 +10,13 @@ namespace Mopups.Platforms.Windows
|
||||
{
|
||||
}
|
||||
|
||||
protected override void ConnectHandler(ContentPanel platformView)
|
||||
{
|
||||
base.ConnectHandler(platformView);
|
||||
|
||||
PlatformView.SizeChanged += (_, e) => VirtualView.ComputeDesiredSize(e.NewSize.Width, e.NewSize.Height);
|
||||
}
|
||||
|
||||
protected override ContentPanel CreatePlatformView()
|
||||
{
|
||||
return new PopupPageRenderer(this);
|
||||
|
||||
Reference in New Issue
Block a user