Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
feat(UI): make font in message input field use font settings
Browse files Browse the repository at this point in the history
Right now it requires qTox restart to take effect in all chats.

Should help with 4k high-dpi displays.
  • Loading branch information
zetok committed Dec 18, 2016
1 parent 326d521 commit c14cbdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widget/form/genericchatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ GenericChatForm::GenericChatForm(QWidget *parent)
chatWidget, &ChatLog::forceRelayout);

msgEdit = new ChatTextEdit();
// TODO: make it work without restart
msgEdit->setCurrentFont(s.getChatMessageFont());

sendButton = new QPushButton();
emoteButton = new QPushButton();
Expand Down

0 comments on commit c14cbdf

Please sign in to comment.