mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05: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
@ -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) ;
|
||||
}
|
||||
|
@ -98,12 +98,6 @@
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<widget class="QTreeWidget" name="lobbyTreeWidget">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string notr="true">1</string>
|
||||
|
Loading…
Reference in New Issue
Block a user