From 57a9fbb683e3c69fc782f2142490e3362c34f442 Mon Sep 17 00:00:00 2001 From: li-li-wang Date: Tue, 27 May 2025 14:24:11 +0800 Subject: [PATCH] =?UTF-8?q?minFontSize=E8=87=B3maxFontSize=E7=9A=84?= =?UTF-8?q?=E5=8C=BA=E9=97=B4=E5=87=BA=E7=8E=B0=E5=BC=82=E5=B8=B8=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E6=89=A7=E8=A1=8CfontSize=E7=9A=84=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-li-wang --- permissionmanager/src/main/ets/pages/securityToast.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/permissionmanager/src/main/ets/pages/securityToast.ets b/permissionmanager/src/main/ets/pages/securityToast.ets index cf75d4f..e137440 100644 --- a/permissionmanager/src/main/ets/pages/securityToast.ets +++ b/permissionmanager/src/main/ets/pages/securityToast.ets @@ -140,6 +140,7 @@ struct SecurityToast { .fontColor($r('sys.color.font_primary')) .minFontSize(Constants.TOAST_TEXT_MIDDLE_FONT_SIZE) .maxFontSize($r('sys.float.Body_M')) + .fontSize($r('sys.float.Body_M')) .maxLines(Constants.SECURITY_HEADER_MAX_LINES) .heightAdaptivePolicy(TextHeightAdaptivePolicy.MAX_LINES_FIRST) .textOverflow({ overflow: TextOverflow.Ellipsis }) -- Gitee