mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(UI): make font in message input field use font settings
Right now it requires qTox restart to take effect in all chats. Should help with 4k high-dpi displays.
This commit is contained in:
parent
326d5219bc
commit
c14cbdf4fd
|
@ -83,6 +83,8 @@ GenericChatForm::GenericChatForm(QWidget *parent)
|
||||||
chatWidget, &ChatLog::forceRelayout);
|
chatWidget, &ChatLog::forceRelayout);
|
||||||
|
|
||||||
msgEdit = new ChatTextEdit();
|
msgEdit = new ChatTextEdit();
|
||||||
|
// TODO: make it work without restart
|
||||||
|
msgEdit->setCurrentFont(s.getChatMessageFont());
|
||||||
|
|
||||||
sendButton = new QPushButton();
|
sendButton = new QPushButton();
|
||||||
emoteButton = new QPushButton();
|
emoteButton = new QPushButton();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user