// Create top controls
// mesh
+ setObjectPixmap( "SMESH", tr( "ICON_SELECT" ) );
createObject( tr( "MESH" ), mainFrame(), 0 );
//Create check box
//Create RadioButtons
myBGBox = new QGroupBox( mainFrame() );
myBG = new QButtonGroup( mainFrame() );
- QHBoxLayout* aBGLayout = new QHBoxLayout( myBGBox );
+ QVBoxLayout* aBGLayout = new QVBoxLayout( myBGBox );
aBGLayout->setMargin(MARGIN);
aBGLayout->setSpacing(SPACING);
// Fill layout
QGridLayout* aLay = new QGridLayout( mainFrame() );
- aLay->setMargin( 0 );
- aLay->setSpacing( SPACING );
+ aLay->setMargin( 5 );
+ aLay->setSpacing( 5 );
aLay->addWidget( objectWg( 0, Label ), 0, 0 );
aLay->addWidget( objectWg( 0, Btn ), 0, 1 );