]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Support of nested option buttons
authornds <nds@opencascade.com>
Mon, 4 Jul 2016 08:27:02 +0000 (11:27 +0300)
committernds <nds@opencascade.com>
Mon, 4 Jul 2016 08:27:02 +0000 (11:27 +0300)
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 );