Provide sensible default size for the GenericBrowserPopup

This commit is contained in:
Michael Becker 2019-07-25 23:13:03 -04:00
parent 60a9b9a766
commit ed5c7ea701

View File

@ -22,6 +22,7 @@ using System;
using UniversalWidgetToolkit;
using UniversalWidgetToolkit.Controls;
using UniversalWidgetToolkit.Layouts;
using MBS.Framework.Drawing;
namespace UniversalEditor.UserInterface.Dialogs
{
@ -64,6 +65,8 @@ namespace UniversalEditor.UserInterface.Dialogs
lv.RowActivated += this.lv_RowActivated;
this.lv.Model = tm;
this.Controls.Add(this.lv, new BoxLayout.Constraints(true, true));
this.MinimumSize = new Dimension2D (300, 200);
}
}