mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -04:00
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:
parent
a8b08c9957
commit
d87778172e
3 changed files with 470 additions and 479 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue