summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-30 08:21:48 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-30 08:21:48 (GMT)
commit522ee22e29e254800caf1c830ce66c4ede5ca5b5 (patch)
treed8fd39ece93188a0863660ca7d448a7bcb00aaff /Swift/QtUI/QtChatWindow.cpp
parent141bad5fe7d51edc2eaffd5d15342075d550fc8c (diff)
downloadswift-contrib-522ee22e29e254800caf1c830ce66c4ede5ca5b5.zip
swift-contrib-522ee22e29e254800caf1c830ce66c4ede5ca5b5.tar.bz2
Let chat widget grow to fill the window.
Resolves: #223
Diffstat (limited to 'Swift/QtUI/QtChatWindow.cpp')
-rw-r--r--Swift/QtUI/QtChatWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp
index 544efd3..cb4c437 100644
--- a/Swift/QtUI/QtChatWindow.cpp
+++ b/Swift/QtUI/QtChatWindow.cpp
@@ -46,7 +46,7 @@ QtChatWindow::QtChatWindow(const QString &contact, UIEventStream* eventStream) :
treeWidget_ = new QtTreeWidget(eventStream_);
treeWidget_->hide();
logRosterSplitter->addWidget(treeWidget_);
-
+ logRosterSplitter->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
QWidget* midBar = new QWidget(this);
layout->addWidget(midBar);