diff options
Diffstat (limited to 'Swift/QtUI/QtChatWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index e0881d5..231a9b9 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -115,2 +115,5 @@ QtChatWindow::QtChatWindow(const QString& contact, QtChatTheme* theme, UIEventSt } + // When used with QSplitter and setChildrenCollapsible(false), the following prevents + // this widget to be hidden, i.e. resized to zero width. + messageLog_->setMinimumWidth(20); logRosterSplitter_->addWidget(messageLog_); @@ -358,2 +361,3 @@ void QtChatWindow::handleChangeSplitterState(QByteArray state) { #endif + logRosterSplitter_->setChildrenCollapsible(false); } |