future 1 жил өмнө
parent
commit
7b39a14784

+ 7 - 7
assets/resources/ui/rank.prefab

@@ -5132,9 +5132,9 @@
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
     "_actualFontSize": 23,
-    "_fontSize": 23,
+    "_fontSize": 27,
     "_fontFamily": "Arial",
-    "_lineHeight": 30,
+    "_lineHeight": 27,
     "_overflow": 1,
     "_enableWrapText": true,
     "_font": null,
@@ -6641,9 +6641,9 @@
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
     "_actualFontSize": 23,
-    "_fontSize": 23,
+    "_fontSize": 27,
     "_fontFamily": "Arial",
-    "_lineHeight": 30,
+    "_lineHeight": 27,
     "_overflow": 1,
     "_enableWrapText": true,
     "_font": null,
@@ -9448,10 +9448,10 @@
     "_string": "",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 23,
-    "_fontSize": 23,
+    "_actualFontSize": 27,
+    "_fontSize": 27,
     "_fontFamily": "Arial",
-    "_lineHeight": 30,
+    "_lineHeight": 27,
     "_overflow": 1,
     "_enableWrapText": true,
     "_font": null,

+ 3 - 3
assets/resources/ui/rank_list_item.prefab

@@ -537,10 +537,10 @@
     "_string": "",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 23,
-    "_fontSize": 23,
+    "_actualFontSize": 27,
+    "_fontSize": 27,
     "_fontFamily": "Arial",
-    "_lineHeight": 30,
+    "_lineHeight": 27,
     "_overflow": 1,
     "_enableWrapText": true,
     "_font": null,

+ 1 - 0
assets/script/tools.ts

@@ -82,6 +82,7 @@ export class tools  {
         if(string.length>4) {
             string = string.substring(0,4)
         }
+        lab_component.fontSize = 27
         if(string.length==2) {
             lab_component.lineHeight = 55
         } else if(string.length==3) {