From ae1f3f93895903fddc8a2271534935ab2665072e Mon Sep 17 00:00:00 2001 From: Kima Date: Sat, 24 Feb 2024 21:50:19 +0100 Subject: [PATCH] fixed room name overflow --- refilc/lib/ui/widgets/lesson/lesson_tile.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refilc/lib/ui/widgets/lesson/lesson_tile.dart b/refilc/lib/ui/widgets/lesson/lesson_tile.dart index af0fb7a..284de3d 100644 --- a/refilc/lib/ui/widgets/lesson/lesson_tile.dart +++ b/refilc/lib/ui/widgets/lesson/lesson_tile.dart @@ -321,6 +321,7 @@ class LessonTile extends StatelessWidget { // ), // ), Container( + width: lesson.room.length > 20 ? 111 : null, padding: const EdgeInsets.symmetric( horizontal: 6.0, vertical: 3.5), decoration: BoxDecoration( @@ -334,6 +335,7 @@ class LessonTile extends StatelessWidget { ), child: Text( lesson.room, + overflow: TextOverflow.ellipsis, style: TextStyle( height: 1.1, fontSize: 12.5,