From e6c4f695e90e5258052fd695700364e2da823087 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 17 九月 2025 18:59:08 +0800
Subject: [PATCH] 0312 调整初始文本

---
 Assets/Editor/Tool/ChangeTextAndImage.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Assets/Editor/Tool/ChangeTextAndImage.cs b/Assets/Editor/Tool/ChangeTextAndImage.cs
index 7f4f3a5..17a0027 100644
--- a/Assets/Editor/Tool/ChangeTextAndImage.cs
+++ b/Assets/Editor/Tool/ChangeTextAndImage.cs
@@ -82,12 +82,15 @@
             textEx.fontSize = textFontSize;
             textEx.raycastTarget = false;
             textEx.alignment = TextAnchor.MiddleCenter;
-            textEx.horizontalOverflow = HorizontalWrapMode.Wrap;
-            textEx.verticalOverflow = VerticalWrapMode.Truncate;
+            //榛樿璁剧疆涓哄彲瓒呭嚭锛屽叿浣撴儏鍐垫牴鎹渶姹備慨鏀�
+            //鍘熷洜锛氬ぇ澶氭暟鏂囨湰閮芥槸灏戦噺瀛楋紝浣嗘洿鎹㈠瓧浣撴垨鑰呯粺涓�淇敼瀛椾綋澶у皬锛堝璇█锛夊鏄撳鑷存樉绀轰笉浜嗛棶棰�
+            //     浠ュ鏁版儏鍐典负鍩哄噯锛屽叾浠栨枃鏈牴鎹儏鍐典慨鏀�
+            textEx.horizontalOverflow = HorizontalWrapMode.Overflow;
+            textEx.verticalOverflow = VerticalWrapMode.Overflow;
             textEx.resizeTextForBestFit = false;
             textEx.color = textColor;
-
-            textEx.rectTransform.sizeDelta = new Vector2(width + 6, height + 6);
+            //铏界劧鏄疧verflow 渚濈劧淇濈暀锛屾柟渚夸互鍚庡彲鑳戒慨鏀规儏鍐�
+            textEx.rectTransform.sizeDelta = new Vector2(width + 6, height + 6);    
 
         }
 

--
Gitblit v1.8.0