Ellipsis long collection names

This commit is contained in:
Vishnu Mohandas 2020-11-10 21:49:06 +05:30
parent f4001de35a
commit 87af768dfd
2 changed files with 16 additions and 8 deletions

View file

@ -233,11 +233,15 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
),
Padding(padding: EdgeInsets.all(2)),
Expanded(
child: Padding(
padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),
child: Text(
c.collection.name,
style: TextStyle(
fontSize: 16,
),
overflow: TextOverflow.ellipsis,
),
),
),
],

View file

@ -231,11 +231,15 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
),
Padding(padding: EdgeInsets.all(2)),
Expanded(
child: Padding(
padding: const EdgeInsets.fromLTRB(8, 0, 8, 0),
child: Text(
c.collection.name,
style: TextStyle(
fontSize: 16,
),
overflow: TextOverflow.ellipsis,
),
),
),
],