From 0830f859c4ef722fc8e509a5f97f158b62a9e3bb Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 11 Dec 2025 19:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/agent/views/message_bubble.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/modules/agent/views/message_bubble.dart b/lib/modules/agent/views/message_bubble.dart index 7a845e44c..ae545ae1f 100644 --- a/lib/modules/agent/views/message_bubble.dart +++ b/lib/modules/agent/views/message_bubble.dart @@ -166,6 +166,7 @@ class MessageBubble extends GetView { // 如果是识别中的消息,添加特殊样式 if (isRecognizing) { return Row( + crossAxisAlignment: CrossAxisAlignment.end, mainAxisSize: MainAxisSize.min, children: [ Flexible( @@ -177,7 +178,9 @@ class MessageBubble extends GetView { fontSize: 14, height: 1.4, ), - overflow: TextOverflow.ellipsis, + // 允许自动换行,不再强制单行 + softWrap: true, + maxLines: null, ), ), const SizedBox(width: 8),