Changed some more splitter behaviour when resizing the window.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-13 23:32:23 +00:00
parent 4654d5d3f1
commit 398f446300
4 changed files with 13 additions and 0 deletions

View file

@ -98,6 +98,10 @@ ChatLobbyDialog::ChatLobbyDialog(const ChatLobbyId& lid, QWidget *parent, Qt::Wi
unsubscribeButton->setIconSize(QSize(22,22)) ;
}
/* Initialize splitter */
ui.splitter->setStretchFactor(0, 1);
ui.splitter->setStretchFactor(1, 0);
connect(unsubscribeButton, SIGNAL(clicked()), this , SLOT(leaveLobby()));
getChatWidget()->addChatBarWidget(unsubscribeButton) ;