fix: tune chat badge sizes
This commit is contained in:
parent
8e3798e85c
commit
9294f2a08f
@ -1303,10 +1303,10 @@ class _MsgItemState extends State<MsgItem> {
|
||||
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<MsgItem> {
|
||||
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<MsgItem> {
|
||||
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<MsgItem> {
|
||||
SizedBox(width: 8.w),
|
||||
Expanded(
|
||||
child: SizedBox(
|
||||
height: 73.w,
|
||||
height: 76.w,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user