- QVBoxLayout* aLay = new QVBoxLayout( mainFrame(), 0, 5 );
- aLay->addWidget( aGrp );
- aLay->addItem( new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum) );
- aLay->addWidget( myTabWg );
- aLay->addWidget( aHypoSetButton );
+ QGridLayout* aLay = new QGridLayout( mainFrame() );
+ aLay->setMargin( 0 );
+ aLay->setSpacing( SPACING );
+
+ aLay->addWidget( objectWg( Obj, Label ), 0, 0 );
+ aLay->addWidget( objectWg( Obj, Btn ), 0, 1 );
+ aLay->addWidget( objectWg( Obj, Control ), 0, 2 );
+ aLay->addWidget( objectWg( Mesh, Label ), 1, 0 );
+ aLay->addWidget( objectWg( Mesh, Btn ), 1, 1 );
+ aLay->addWidget( objectWg( Mesh, Control ), 1, 2 );
+ aLay->addWidget( objectWg( Geom, Label ), 2, 0 );
+ aLay->addWidget( objectWg( Geom, Btn ), 2, 1 );
+ aLay->addWidget( objectWg( Geom, Control ), 2, 2 );
+ aLay->addWidget( anMeshTypeLbl, 3, 0 );
+ aLay->addWidget( myMeshType, 3, 2 );
+ aLay->addWidget( myTabWg, 5, 0, 1, 3 );
+ aLay->addWidget( myHypoSetButton, 6, 0, 1, 3 );
+ aLay->setRowMinimumHeight( 3, 20 );
+
+ myMeshType->clear();