From 9294f2a08f2829c7b36468cca26b8a3f1bb198de Mon Sep 17 00:00:00 2001 From: zhx Date: Mon, 18 May 2026 12:49:25 +0800 Subject: [PATCH] fix: tune chat badge sizes --- lib/ui_kit/widgets/room/room_msg_item.dart | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/ui_kit/widgets/room/room_msg_item.dart b/lib/ui_kit/widgets/room/room_msg_item.dart index f1f217f..2b61f0c 100644 --- a/lib/ui_kit/widgets/room/room_msg_item.dart +++ b/lib/ui_kit/widgets/room/room_msg_item.dart @@ -1303,10 +1303,10 @@ class _MsgItemState extends State { child: SCUserBadgeStrip( userId: userId, fallbackBadges: fallbackBadges, - height: 23.w, - badgeHeight: 21.w, + height: 28.w, + badgeHeight: 25.w, longBadgeWidth: 51.w, - spacing: 4.5.w, + spacing: 5.w, maxBadges: 8, reserveSpace: true, ), @@ -1327,10 +1327,10 @@ class _MsgItemState extends State { userId: userId, fallbackBadges: fallbackBadges, displayScope: SCUserBadgeDisplayScope.long, - height: 22.w, - badgeHeight: 20.w, - longBadgeWidth: 62.w, - spacing: 4.w, + height: 18.w, + badgeHeight: 16.w, + longBadgeWidth: 50.w, + spacing: 3.w, maxBadges: 8, reserveSpace: false, ), @@ -1875,7 +1875,7 @@ class _MsgItemState extends State { SizedBox(width: 8.w), Expanded( child: SizedBox( - height: 73.w, + height: 76.w, child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, @@ -1926,7 +1926,7 @@ class _MsgItemState extends State { SizedBox(width: 8.w), Expanded( child: SizedBox( - height: 73.w, + height: 76.w, child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start,