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(); }