QWidget* aPropFrame = new QWidget(this);
QHBoxLayout* aHPropLayout = new QHBoxLayout( aPropFrame );
aHPropLayout->setSpacing(5);
+ aHPropLayout->setMargin(0);
QGroupBox* aNamesBox = new QGroupBox("Fields",aPropFrame);
aHPropLayout->addWidget( aNamesBox );
aHPropLayout->addWidget( aSetupBox );
aVBoxLayout = new QVBoxLayout( aSetupBox );
aVBoxLayout->setSpacing(5);
- aHPropLayout->addWidget( aSetupBox );
+ aVBoxLayout->setMargin(0);
QGroupBox* aPropBox = new QGroupBox("Properties", aSetupBox);
aVBoxLayout->addWidget( aPropBox );
if (myAnimator->getNbFields() > 1 ) {
if( myAnimator->getAnimationMode() == VISU::Animation::PARALLEL ) {
myArrangeBtn = new QPushButton("Arrange...", aSetupBox);
+ aVBoxLayout->addWidget( myArrangeBtn );
connect( myArrangeBtn, SIGNAL( clicked() ), this, SLOT( onArrangeDlg() ) );
}
}
QWidget* aBtnBox = new QWidget(this);
QHBoxLayout* aBtnLayout = new QHBoxLayout(aBtnBox);
+ aBtnLayout->setContentsMargins( 5, 5, 0, 5 );
aBtnLayout->addStretch();
QPushButton* aCloseBtn = new QPushButton(tr("BUT_OK"), aBtnBox);
+ aBtnLayout->addWidget( aCloseBtn );
connect(aCloseBtn, SIGNAL(clicked()), this, SLOT(onClose()));
aMainLayout->addWidget(aBtnBox);
QWidget* aBtnBox = new QWidget(this);
QHBoxLayout* aBtnLayout = new QHBoxLayout(aBtnBox);
- aBtnLayout->setMargin( 0 );
+ aBtnLayout->setContentsMargins( 5, 5, 0, 5 );
aBtnLayout->addStretch();
QPushButton* aCloseBtn = new QPushButton(tr("BUT_CLOSE"), aBtnBox);