- QVBoxLayout* aLay = new QVBoxLayout( mainFrame(), 5, 5 );
- aLay->addWidget( aGrp );
- aLay->addWidget( myMedNdsOnGeom );
- aLay->addWidget( myBG );
+ QGridLayout* aLay = new QGridLayout( mainFrame() );
+ aLay->setMargin( 5 );
+ aLay->setSpacing( 5 );
+
+ aLay->addWidget( objectWg( 0, Label ), 0, 0 );
+ aLay->addWidget( objectWg( 0, Btn ), 0, 1 );
+ aLay->addWidget( objectWg( 0, Control ), 0, 2 );
+ aLay->addWidget( myMedNdsOnGeom, 1, 0, 1, 3 );
+ aLay->addWidget( myBGBox, 2, 0, 1, 3 );
+ aLay->addWidget( myWarning, 3, 0, 1, 3 );