only use prefered size if not empty
This commit is contained in:
@@ -235,7 +235,7 @@ public partial class RadFlyoutBase : UserControl
|
|||||||
if (FindForm() is not Form frm)
|
if (FindForm() is not Form frm)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!AutoSize)
|
if (!AutoSize && !PreferredSize.IsEmpty)
|
||||||
frm.ClientSize = PreferredSize;
|
frm.ClientSize = PreferredSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user