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)
|
||||
return;
|
||||
|
||||
if (!AutoSize)
|
||||
if (!AutoSize && !PreferredSize.IsEmpty)
|
||||
frm.ClientSize = PreferredSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user