]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Layouting and wrong behaviour are corrected (bugs 19386, 19385)
authorvsv <vsv@opencascade.com>
Mon, 31 Mar 2008 06:32:35 +0000 (06:32 +0000)
committervsv <vsv@opencascade.com>
Mon, 31 Mar 2008 06:32:35 +0000 (06:32 +0000)
src/VISUGUI/VisuGUI_EditContainerDlg.cxx

index f57fe501589d3ec5051f451cf644a5714388a385..a197e338388edf0303e041c9222e27e84378b957 100644 (file)
@@ -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()