From 929552f74d8a428b67e4aca24c43bea21d24967a Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 18 Dec 2017 01:23:22 +0100 Subject: [PATCH] fixed emote popup not having the right default size on hidpi --- src/widgets/helper/splitinput.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/helper/splitinput.cpp b/src/widgets/helper/splitinput.cpp index 74f68790..2b983d41 100644 --- a/src/widgets/helper/splitinput.cpp +++ b/src/widgets/helper/splitinput.cpp @@ -56,7 +56,8 @@ SplitInput::SplitInput(Split *_chatWidget) this->emotePopup = new EmotePopup(this->colorScheme); } - this->emotePopup->resize(300, 500); + this->emotePopup->resize((int)(300 * this->emotePopup->getDpiMultiplier()), + (int)(500 * this->emotePopup->getDpiMultiplier())); this->emotePopup->loadChannel(this->chatWidget->getChannel()); this->emotePopup->show(); });