mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Set initial size of the chat lobby splitter.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6255 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0b7f836eb1
commit
60e617150e
2 changed files with 5 additions and 6 deletions
|
@ -104,6 +104,11 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WFlags flags)
|
|||
lobbyTreeWidget->adjustSize();
|
||||
lobbyTreeWidget->setColumnWidth(0,100);
|
||||
|
||||
// Set initial size of the splitter
|
||||
QList<int> sizes;
|
||||
sizes << 200 << width(); // Qt calculates the right sizes
|
||||
splitter->setSizes(sizes);
|
||||
|
||||
lobbyChanged();
|
||||
showBlankPage(0) ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue