Set the list with buttons in MainWindow and friend list in FriendsDialog to fixed when resizing the window.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-12 19:44:45 +00:00
parent a8b08c9957
commit d87778172e
3 changed files with 470 additions and 479 deletions

View file

@ -191,6 +191,8 @@ FriendsDialog::FriendsDialog(QWidget *parent)
ui.hashBox->setAutoHide(true);
/* Set initial size the splitter */
ui.splitter->setStretchFactor(0, 0);
ui.splitter->setStretchFactor(1, 1);
QList<int> sizes;
sizes << height() << 100; // Qt calculates the right sizes
ui.splitter_2->setSizes(sizes);