From: mzn Date: Wed, 26 Oct 2005 10:39:55 +0000 (+0000) Subject: Enlarge the initial width of the Object column of the Object Browser. X-Git-Tag: BR-D5-38-2003_D2005-27-10~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f01cfe43f5790c2c1e6b86ceb5bffce33227a97;p=modules%2Fgui.git Enlarge the initial width of the Object column of the Object Browser. --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index a94e0fb60..aa056081c 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -93,6 +93,7 @@ #include "ToolsGUI_RegWidget.h" #define OBJECT_BROWSER_WIDTH 300 +#define OBJECT_COLUMN_WIDTH 150 #define DEFAULT_BROWSER "mozilla" /*!Image for empty icon.*/ @@ -1457,6 +1458,7 @@ QWidget* SalomeApp_Application::createWindow( const int flag ) ob->setAutoUpdate( true ); ob->setAutoOpenLevel( 1 ); ob->setCaption( tr( "OBJECT_BROWSER" ) ); + ob->listView()->setColumnWidth( 0, OBJECT_COLUMN_WIDTH ); ob->resize( OBJECT_BROWSER_WIDTH, ob->height() ); ob->setFilter( new SalomeApp_OBFilter( selectionMgr() ) );