]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2536: Set minimal width of pop-up dialog box
authorvsv <vsv@opencascade.com>
Wed, 4 Jul 2018 09:24:21 +0000 (12:24 +0300)
committervsv <vsv@opencascade.com>
Wed, 4 Jul 2018 09:24:21 +0000 (12:24 +0300)
src/ModuleBase/ModuleBase_WidgetEditor.cpp

index be60db9d3b503a620ba69118b8e50af10ef2be79..aa2a175109e43e2d25fe8000361168ded4da8920 100644 (file)
@@ -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: