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(
|
child: SCUserBadgeStrip(
|
||||||
userId: userId,
|
userId: userId,
|
||||||
fallbackBadges: fallbackBadges,
|
fallbackBadges: fallbackBadges,
|
||||||
height: 23.w,
|
height: 28.w,
|
||||||
badgeHeight: 21.w,
|
badgeHeight: 25.w,
|
||||||
longBadgeWidth: 51.w,
|
longBadgeWidth: 51.w,
|
||||||
spacing: 4.5.w,
|
spacing: 5.w,
|
||||||
maxBadges: 8,
|
maxBadges: 8,
|
||||||
reserveSpace: true,
|
reserveSpace: true,
|
||||||
),
|
),
|
||||||
@ -1327,10 +1327,10 @@ class _MsgItemState extends State<MsgItem> {
|
|||||||
userId: userId,
|
userId: userId,
|
||||||
fallbackBadges: fallbackBadges,
|
fallbackBadges: fallbackBadges,
|
||||||
displayScope: SCUserBadgeDisplayScope.long,
|
displayScope: SCUserBadgeDisplayScope.long,
|
||||||
height: 22.w,
|
height: 18.w,
|
||||||
badgeHeight: 20.w,
|
badgeHeight: 16.w,
|
||||||
longBadgeWidth: 62.w,
|
longBadgeWidth: 50.w,
|
||||||
spacing: 4.w,
|
spacing: 3.w,
|
||||||
maxBadges: 8,
|
maxBadges: 8,
|
||||||
reserveSpace: false,
|
reserveSpace: false,
|
||||||
),
|
),
|
||||||
@ -1875,7 +1875,7 @@ class _MsgItemState extends State<MsgItem> {
|
|||||||
SizedBox(width: 8.w),
|
SizedBox(width: 8.w),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 73.w,
|
height: 76.w,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@ -1926,7 +1926,7 @@ class _MsgItemState extends State<MsgItem> {
|
|||||||
SizedBox(width: 8.w),
|
SizedBox(width: 8.w),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 73.w,
|
height: 76.w,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user