From 101bf47443a1005f09e5369f232719cd9b67c189 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 17 Dec 2017 17:49:22 +0200 Subject: [PATCH] Remove minimum height limit (#160, #163) --- src/ChatPage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 4f03026d..5788c697 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -60,7 +60,7 @@ ChatPage::ChatPage(QSharedPointer client, QWidget *parent) // SideBar sideBar_ = new QFrame(this); - sideBar_->setMinimumSize(QSize(ui::sidebar::NormalSize, parent->height())); + sideBar_->setMinimumWidth(ui::sidebar::NormalSize); sideBarLayout_ = new QVBoxLayout(sideBar_); sideBarLayout_->setSpacing(0); sideBarLayout_->setMargin(0);