From 78f464f2a4b0a0a1e1518960d7ceed789205dcbf Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Wed, 28 Oct 2026 18:47:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E5=BC=B9=E6=A1=86=E5=AF=8C=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=8A=A0=E9=AB=98=E5=BA=A6=E7=BA=A6=E6=9D=9F=EF=BC=8C?= =?UTF-8?q?=E9=95=BF=E6=96=87=E6=A1=88=E6=81=A2=E5=A4=8D=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/widgets/app_glow_panel.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/core/widgets/app_glow_panel.dart b/lib/core/widgets/app_glow_panel.dart index e92533d..25f3b4d 100644 --- a/lib/core/widgets/app_glow_panel.dart +++ b/lib/core/widgets/app_glow_panel.dart @@ -96,8 +96,10 @@ class AppGlowDialog extends StatelessWidget { ], if (content != null) Text(content!, style: bodyStyle) - else - ?contentChild, + else if (contentChild != null) + // 必须给富内容一个有界高度,否则内部 SingleChildScrollView 拿到无界 + // 约束会直接撑高整块内容(长文本小屏下溢出且无法滚动)。 + Flexible(child: contentChild!), if (actions != null && actions!.isNotEmpty) ...[ const SizedBox(height: 18), Row(