From 040ad032b1753815712191de429c0fab1934ad3c Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 4 Jul 2018 12:24:21 +0300 Subject: [PATCH] Issue #2536: Set minimal width of pop-up dialog box --- src/ModuleBase/ModuleBase_WidgetEditor.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.cpp b/src/ModuleBase/ModuleBase_WidgetEditor.cpp index be60db9d3..aa2a17510 100644 --- a/src/ModuleBase/ModuleBase_WidgetEditor.cpp +++ b/src/ModuleBase/ModuleBase_WidgetEditor.cpp @@ -52,7 +52,10 @@ class ModuleBase_EditorDialog : public QDialog { public: ModuleBase_EditorDialog(QWidget* theParent, Qt::WindowFlags theFlags) - : QDialog(theParent, theFlags) {} + : QDialog(theParent, theFlags) + { + setMinimumWidth(100); + } ~ModuleBase_EditorDialog() {} protected: -- 2.39.2