]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2210: Object Browser : new show / hide button
authorvsv <vsv@opencascade.com>
Wed, 28 Jun 2017 08:32:04 +0000 (11:32 +0300)
committervsv <vsv@opencascade.com>
Wed, 28 Jun 2017 08:32:04 +0000 (11:32 +0300)
src/XGUI/XGUI_ObjectsBrowser.cpp

index ebbb3f1e04e8bbc4a09d895cbfd2202b08734874..eda25f837032b3830713a6fb4b4ef37f9c6a4657 100644 (file)
@@ -43,7 +43,7 @@
 #endif
 
 /// Width of second column (minimum acceptable = 27)
-#define FIRST_COL_WIDTH 30
+#define FIRST_COL_WIDTH 20
 #define SECOND_COL_WIDTH 30
 
 
@@ -147,7 +147,7 @@ void XGUI_DataTree::resizeEvent(QResizeEvent* theEvent)
   QSize aSize = theEvent->size();
   if (aSize.isValid()) {
     setColumnWidth(0, FIRST_COL_WIDTH);
-    setColumnWidth(1, aSize.width() - SECOND_COL_WIDTH - FIRST_COL_WIDTH - 12);
+    setColumnWidth(1, aSize.width() - SECOND_COL_WIDTH - FIRST_COL_WIDTH - 10);
     setColumnWidth(2, SECOND_COL_WIDTH);
   }
 }