From b5d7edfc964766d25107039f8ffa3bff80921efa Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 31 Mar 2008 06:32:35 +0000 Subject: [PATCH] Layouting and wrong behaviour are corrected (bugs 19386, 19385) --- src/VISUGUI/VisuGUI_EditContainerDlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/VISUGUI/VisuGUI_EditContainerDlg.cxx b/src/VISUGUI/VisuGUI_EditContainerDlg.cxx index f57fe501..a197e338 100644 --- a/src/VISUGUI/VisuGUI_EditContainerDlg.cxx +++ b/src/VISUGUI/VisuGUI_EditContainerDlg.cxx @@ -262,7 +262,7 @@ VisuGUI_EditContainerDlg::VisuGUI_EditContainerDlg (VisuGUI* theModule, bool the //myStudyLst->addColumn(tr(""), 0); myStudyLst->setAllColumnsShowFocus(true); - myStudyLst->setMinimumHeight(130); + //myStudyLst->setMinimumHeight(130); connect(myStudyLst, SIGNAL(itemSelectionChanged()), this, SLOT(onLeftSelected())); aControlLay->addWidget(myStudyLst, 1, 0, 5, 1); @@ -293,9 +293,9 @@ VisuGUI_EditContainerDlg::VisuGUI_EditContainerDlg (VisuGUI* theModule, bool the myContainerLst->setColumnWidth( 2, 0 ); - myContainerLst->setMinimumWidth(130); + //myContainerLst->setMinimumWidth(130); connect(myContainerLst, SIGNAL(itemSelectionChanged()), this, SLOT(onRightSelected())); - aControlLay->addWidget(myContainerLst, 1, 2, 3, 1); + aControlLay->addWidget(myContainerLst, 1, 2, 5, 1); TopLayout->addWidget(aControlFrame); @@ -489,7 +489,7 @@ void VisuGUI_EditContainerDlg::onLeftSelected() void VisuGUI_EditContainerDlg::onRightSelected() { - myRightBtn->setEnabled( myContainerLst->selectedItems().count() > 0 ); + myLeftBtn->setEnabled( myContainerLst->selectedItems().count() > 0 ); } void VisuGUI_EditContainerDlg::onHelp() -- 2.39.2