From: vsv Date: Mon, 31 Mar 2008 06:32:35 +0000 (+0000) Subject: Layouting and wrong behaviour are corrected (bugs 19386, 19385) X-Git-Tag: V5_0_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5d7edfc964766d25107039f8ffa3bff80921efa;p=modules%2Fvisu.git Layouting and wrong behaviour are corrected (bugs 19386, 19385) --- 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()