Skip to content

Commit 6cba96d

Browse files
authored
Update leo_activity_page.dart
fix bug when label with long text.
1 parent 62f02ee commit 6cba96d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

3 - 活动入口网格 - 20210404/leo_activity_page.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@ class _WrapItem extends StatelessWidget {
251251
children: <Widget>[
252252
Icon(model.icon),
253253
const Spacer(),
254-
Text(model.name),
254+
Text(
255+
model.name,
256+
overflow: TextOverflow.ellipsis,
257+
),
255258
],
256259
),
257260
),

0 commit comments

Comments
 (0)