Salome HOME
Make Spline panel for editing aligned to top
authorvsv <vsv@opencascade.com>
Tue, 21 Jan 2020 09:50:09 +0000 (12:50 +0300)
committervsv <vsv@opencascade.com>
Tue, 21 Jan 2020 09:50:09 +0000 (12:50 +0300)
src/ModuleBase/ModuleBase_WidgetFactory.cpp

index 0467869f9b0e40256c5d006b77c42056c8999925..a01c7f18df57b8dd85fbb70f46236ce3ceb63814 100644 (file)
@@ -189,8 +189,8 @@ void ModuleBase_WidgetFactory::createWidget(ModuleBase_PageBase* thePage,
         aWidget->setVisible(false);
       }
     }
+    thePage->alignToTop();
   }
-  thePage->alignToTop();
 }
 
 void ModuleBase_WidgetFactory::getAttributeTitle(const std::string& theAttributeId,