From 37571ae6134f7f3f72d523fa81b059e8d14a9e7a Mon Sep 17 00:00:00 2001 From: vanolpfan Date: Fri, 27 Oct 2017 21:34:23 +0300 Subject: [PATCH] Use user's font in chat input (#135) --- src/widgets/chatwidgetinput.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/chatwidgetinput.cpp b/src/widgets/chatwidgetinput.cpp index 8c782d20a..2ee219124 100644 --- a/src/widgets/chatwidgetinput.cpp +++ b/src/widgets/chatwidgetinput.cpp @@ -30,6 +30,8 @@ ChatWidgetInput::ChatWidgetInput(ChatWidget *_chatWidget, EmoteManager &emoteMan this->hbox.addLayout(&this->editContainer); this->hbox.addLayout(&this->vbox); + this->textInput.setFont(FontManager::getInstance().getFont(FontManager::Type::Medium)); + this->editContainer.addWidget(&this->textInput); this->editContainer.setMargin(4);