From 0f01cfe43f5790c2c1e6b86ceb5bffce33227a97 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 26 Oct 2005 10:39:55 +0000 Subject: [PATCH] Enlarge the initial width of the Object column of the Object Browser. --- src/SalomeApp/SalomeApp_Application.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() ) ); -- 2.39.2