From 4a91372f8ffa5004cb650ee039944d4eaf417f0b Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 4 Jan 2018 23:35:36 +0100 Subject: [PATCH] fixed #182 --- src/widgets/helper/splitinput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/helper/splitinput.cpp b/src/widgets/helper/splitinput.cpp index af02ea872..d9bdc1893 100644 --- a/src/widgets/helper/splitinput.cpp +++ b/src/widgets/helper/splitinput.cpp @@ -19,8 +19,6 @@ SplitInput::SplitInput(Split *_chatWidget) , chatWidget(_chatWidget) , emotesLabel(this) { - this->setMaximumHeight(150); - this->setLayout(&this->hbox); this->hbox.setMargin(4); @@ -269,6 +267,8 @@ void SplitInput::resizeEvent(QResizeEvent *) this->textInput.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); } + this->setMaximumHeight((int)(150 * this->getDpiMultiplier())); + this->refreshTheme(); }