]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_ToolBox.cpp
Salome HOME
Support of nested option buttons
[modules/shaper.git] / src / ModuleBase / ModuleBase_ToolBox.cpp
index 1ab883c86e13653ada9d70bf36bf1c98dec7d87b..7d59cffc02248d65a8c5d50908245957fac42bf6 100644 (file)
@@ -17,11 +17,14 @@ ModuleBase_ToolBox::ModuleBase_ToolBox( QWidget* theParent )
   : QFrame( theParent )
 {
   QVBoxLayout* aMainLayout = new QVBoxLayout( this );
-  aMainLayout->setMargin( 0 );
-  aMainLayout->setSpacing( 0 );
+  aMainLayout->setMargin(0);
+  aMainLayout->setSpacing(2);
 
   myButtonsFrame = new QFrame( this );
+
   myStack = new QStackedWidget( this );
+  myStack->setFrameStyle(QFrame::Box | QFrame::Raised);
+
   aMainLayout->addWidget( myButtonsFrame, 0 );
   aMainLayout->addWidget( myStack, 1 );