forked from ShuriZma/suyu
1
0
Fork 0

yuzu/chat_room: Make font size bigger

This commit is contained in:
FearlessTobi 2022-08-27 04:04:00 +02:00
parent 27d7db1fae
commit 63b236d853
1 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,10 @@ ChatRoom::ChatRoom(QWidget* parent) : QWidget(parent), ui(std::make_unique<Ui::C
ui->chat_history->document()->setMaximumBlockCount(max_chat_lines); ui->chat_history->document()->setMaximumBlockCount(max_chat_lines);
auto font = ui->chat_history->font();
font.setPointSizeF(10);
ui->chat_history->setFont(font);
// register the network structs to use in slots and signals // register the network structs to use in slots and signals
qRegisterMetaType<Network::ChatEntry>(); qRegisterMetaType<Network::ChatEntry>();
qRegisterMetaType<Network::StatusMessageEntry>(); qRegisterMetaType<Network::StatusMessageEntry>();