fixed to not stretch last column but stretch first column

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-03 22:42:23 +00:00
parent 626142e6db
commit 572d2c198d

View File

@ -121,9 +121,13 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
//ui.messengertreeWidget->sortItems( 0, Qt::AscendingOrder );
QHeaderView * _header = ui.messengertreeWidget->header () ;
_header->setResizeMode (0, QHeaderView::Interactive);
_header->setResizeMode (0, QHeaderView::Stretch);
_header->setResizeMode (1, QHeaderView::Interactive);
_header->setStretchLastSection(false);
_header->resizeSection ( 0, 200 );
_header->resizeSection ( 0, 200 );
_header->resizeSection ( 1, 100 );
//LogoBar
_rsLogoBarmessenger = NULL;
@ -139,7 +143,7 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
insertPeers();
updateAvatar();
loadmystatus();
loadstatus();
//loadstatus();
displayMenu();