From f2de4a2faa8f3bb6d03e3d8a10e668bd13bd8d54 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Mon, 21 Oct 2024 22:47:04 +0200 Subject: [PATCH] overflow text --- covas_mobile/lib/pages/ItemMenu.dart | 2 +- covas_mobile/lib/pages/ListItemByOrganizers.dart | 3 ++- covas_mobile/lib/pages/ListItemByTags.dart | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/covas_mobile/lib/pages/ItemMenu.dart b/covas_mobile/lib/pages/ItemMenu.dart index 6e9f417..d14cea6 100644 --- a/covas_mobile/lib/pages/ItemMenu.dart +++ b/covas_mobile/lib/pages/ItemMenu.dart @@ -198,7 +198,7 @@ class _ItemMenuState extends State with ShowErrorDialog { appBar: AppBar( // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. - title: Text("${eventName}"), + title: Text("${eventName}", overflow: TextOverflow.ellipsis), backgroundColor: Colors.blue, foregroundColor: Colors.white, leading: IconButton( diff --git a/covas_mobile/lib/pages/ListItemByOrganizers.dart b/covas_mobile/lib/pages/ListItemByOrganizers.dart index 8a78c62..1500a1b 100644 --- a/covas_mobile/lib/pages/ListItemByOrganizers.dart +++ b/covas_mobile/lib/pages/ListItemByOrganizers.dart @@ -92,7 +92,8 @@ class _MyHomePageState extends State { appBar: AppBar( // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. - title: Text("Organisateur : ${widget.organizer}"), + title: Text("Organisateur : ${widget.organizer}", + overflow: TextOverflow.ellipsis), backgroundColor: Colors.blue, foregroundColor: Colors.white, ), diff --git a/covas_mobile/lib/pages/ListItemByTags.dart b/covas_mobile/lib/pages/ListItemByTags.dart index 35a0d88..59ddcbc 100644 --- a/covas_mobile/lib/pages/ListItemByTags.dart +++ b/covas_mobile/lib/pages/ListItemByTags.dart @@ -91,7 +91,7 @@ class _MyHomePageState extends State { appBar: AppBar( // Here we take the value from the MyHomePage object that was created by // the App.build method, and use it to set our appbar title. - title: Text("Tags : ${widget.tags}"), + title: Text("Tags : ${widget.tags}", overflow: TextOverflow.ellipsis), backgroundColor: Colors.blue, foregroundColor: Colors.white, ),