From ed5c7ea7017eb46f14b57c61cc1979ac4cedb396 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Thu, 25 Jul 2019 23:13:03 -0400 Subject: [PATCH] Provide sensible default size for the GenericBrowserPopup --- .../Dialogs/GenericBrowserPopup.Designer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/GenericBrowserPopup.Designer.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/GenericBrowserPopup.Designer.cs index fb143339..f874530a 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/GenericBrowserPopup.Designer.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/GenericBrowserPopup.Designer.cs @@ -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); } }