Use user's font in chat input (#135)

This commit is contained in:
vanolpfan 2017-10-27 21:34:23 +03:00 committed by pajlada
parent f51372102e
commit 37571ae613

View file

@ -30,6 +30,8 @@ ChatWidgetInput::ChatWidgetInput(ChatWidget *_chatWidget, EmoteManager &emoteMan
this->hbox.addLayout(&this->editContainer); this->hbox.addLayout(&this->editContainer);
this->hbox.addLayout(&this->vbox); this->hbox.addLayout(&this->vbox);
this->textInput.setFont(FontManager::getInstance().getFont(FontManager::Type::Medium));
this->editContainer.addWidget(&this->textInput); this->editContainer.addWidget(&this->textInput);
this->editContainer.setMargin(4); this->editContainer.setMargin(4);