From 09f60ea858205352e2f3ab0ff5044411e2e3220a Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 18 Mar 2008 14:21:33 +0000 Subject: [PATCH] Fix of IPAL19205(There is no button "Close" in Successive Animation window). --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index c0856da8..215c6cca 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -1543,7 +1543,7 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule, // Animation publishing in study QWidget* aPublishBox = new QWidget(this); QHBoxLayout* aPubHBLay = new QHBoxLayout( aPublishBox ); - aPubHBLay->setSpacing(5); + aPubHBLay->setMargin( 0 ); myPublishBtn = new QPushButton("Publish to study", aPublishBox); aPubHBLay->addWidget( myPublishBtn ); @@ -1559,12 +1559,15 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule, QWidget* aBtnBox = new QWidget(this); QHBoxLayout* aBtnLayout = new QHBoxLayout(aBtnBox); + aBtnLayout->setMargin( 0 ); aBtnLayout->addStretch(); QPushButton* aCloseBtn = new QPushButton(tr("BUT_CLOSE"), aBtnBox); + aBtnLayout->addWidget( aCloseBtn ); connect(aCloseBtn, SIGNAL(clicked()), this, SLOT(close())); QPushButton* aHelpBtn = new QPushButton(tr("BUT_HELP"), aBtnBox); + aBtnLayout->addWidget( aHelpBtn ); connect(aHelpBtn, SIGNAL(clicked()), this, SLOT(onHelp())); SUIT_Study* aStudy = VISU::GetAppStudy(myModule); -- 2.39.2