mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-17 18:37:20 -05:00
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:
parent
626142e6db
commit
572d2c198d
@ -121,9 +121,13 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
//ui.messengertreeWidget->sortItems( 0, Qt::AscendingOrder );
|
//ui.messengertreeWidget->sortItems( 0, Qt::AscendingOrder );
|
||||||
|
|
||||||
QHeaderView * _header = ui.messengertreeWidget->header () ;
|
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
|
//LogoBar
|
||||||
_rsLogoBarmessenger = NULL;
|
_rsLogoBarmessenger = NULL;
|
||||||
@ -139,7 +143,7 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
insertPeers();
|
insertPeers();
|
||||||
updateAvatar();
|
updateAvatar();
|
||||||
loadmystatus();
|
loadmystatus();
|
||||||
loadstatus();
|
//loadstatus();
|
||||||
|
|
||||||
displayMenu();
|
displayMenu();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user