From: vsv Date: Wed, 28 Jun 2017 08:32:04 +0000 (+0300) Subject: Issue #2210: Object Browser : new show / hide button X-Git-Tag: V_2.9.0~23^2~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca165ce97ac8075a630664a6f5a59bf011ab9d78;p=modules%2Fshaper.git Issue #2210: Object Browser : new show / hide button --- diff --git a/src/XGUI/XGUI_ObjectsBrowser.cpp b/src/XGUI/XGUI_ObjectsBrowser.cpp index ebbb3f1e0..eda25f837 100644 --- a/src/XGUI/XGUI_ObjectsBrowser.cpp +++ b/src/XGUI/XGUI_ObjectsBrowser.cpp @@ -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); } }