Przeglądaj źródła

yuzu/chat_room: Make font size bigger

FearlessTobi 3 lat temu
rodzic
commit
63b236d853
1 zmienionych plików z 4 dodań i 0 usunięć
  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);
     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>();