From 88ab4e9acca77428303382709a40ee29b46d02ec Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 6 Oct 2008 07:27:13 +0000 Subject: [PATCH] Merging from the BR_V5_DEV branch. --- src/ObjBrowser/OB_Browser.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index 8bdb6ddd2..e2d0f0b73 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -457,7 +457,7 @@ void OB_Browser::setOpen( const QModelIndex& index, const bool open ) */ void OB_Browser::adjustWidth() { - myView->resizeColumnToContents( 0 ); + myView->resizeColumnToEncloseContents( 0 ); } /*! @@ -465,7 +465,7 @@ void OB_Browser::adjustWidth() */ void OB_Browser::adjustFirstColumnWidth() { - myView->resizeColumnToContents( 0 ); + myView->resizeColumnToEncloseContents( 0 ); } /*! @@ -475,7 +475,7 @@ void OB_Browser::adjustColumnsWidth() { for ( int aCol = 1; aCol < myView->header()->count(); aCol++ ) { if ( myView->columnWidth( aCol ) > 0 ) - myView->resizeColumnToContents( aCol ); + myView->resizeColumnToEncloseContents( aCol ); } } -- 2.39.2