Reduce maximum chat size to 400%
authorWuzzy <Wuzzy2@mail.ru>
Sun, 05 Jul 2020 23:36:08 +0200
changeset 15683 0d0f48f098f4
parent 15682 842385b5e0f6
child 15684 c7fe94d56d6e
Reduce maximum chat size to 400%
QTfrontend/ui/page/pageoptions.cpp
hedgewars/uConsts.pas
--- a/QTfrontend/ui/page/pageoptions.cpp	Sun Jul 05 22:40:11 2020 +0200
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sun Jul 05 23:36:08 2020 +0200
@@ -407,7 +407,7 @@
             sbChatSize = new QSpinBox(groupGame);
             sbChatSize->setSingleStep(5);
             sbChatSize->setMinimum(80);
-            sbChatSize->setMaximum(2000);
+            sbChatSize->setMaximum(400);
             sbChatSize->setValue(100);
             groupGame->layout()->addWidget(sbChatSize, 11, 1, Qt::AlignLeft);
 
--- a/hedgewars/uConsts.pas	Sun Jul 05 22:40:11 2020 +0200
+++ b/hedgewars/uConsts.pas	Sun Jul 05 23:36:08 2020 +0200
@@ -244,7 +244,7 @@
     cBaseChatFontHeight = 12;
     cChatScaleRelDelta = 0.1;
     cMinChatScaleValue = 0.8;
-    cMaxChatScaleValue = 10.0;
+    cMaxChatScaleValue = 4.0;
 
     cDefaultUIScaleLevel = 1.0;