Browse Source

yuzu/chat_room: Make font size bigger

FearlessTobi 4 năm trước cách đây
mục cha
commit
63b236d853
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/yuzu/multiplayer/chat_room.cpp

+ 4 - 0
src/yuzu/multiplayer/chat_room.cpp

@@ -178,6 +178,10 @@ ChatRoom::ChatRoom(QWidget* parent) : QWidget(parent), ui(std::make_unique<Ui::C
 
     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
     qRegisterMetaType<Network::ChatEntry>();
     qRegisterMetaType<Network::StatusMessageEntry>();