Merge pull request #586 from irihitech/drawer
Set drawer max size on container size change.
This commit is contained in:
@@ -102,6 +102,8 @@ public partial class OverlayDialogHost
|
||||
|
||||
private static void ResetDrawerPosition(DrawerControlBase control, Size newSize)
|
||||
{
|
||||
control.MaxWidth = newSize.Width;
|
||||
control.MaxHeight = newSize.Height;
|
||||
if (control.Position == Position.Right)
|
||||
{
|
||||
control.Height = newSize.Height;
|
||||
|
||||
Reference in New Issue
Block a user