]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetFactory.cpp
Salome HOME
Make Spline panel for editing aligned to top
[modules/shaper.git] / 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,