fixed emote popup not having the right default size on hidpi

This commit is contained in:
fourtf 2017-12-18 01:23:22 +01:00
parent 90db7a3995
commit 929552f74d

View file

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