From 6f9307230e4d0e5fd0a21cde4b3191eea7ae12d7 Mon Sep 17 00:00:00 2001 From: Julian KOUNE Date: Tue, 26 Sep 2023 12:18:04 +0200 Subject: [PATCH] fix: search menu item overflow --- lib/pages/chat/chat_view.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/chat_view.dart b/lib/pages/chat/chat_view.dart index 4ba5fb8e53..a0c7cc0333 100644 --- a/lib/pages/chat/chat_view.dart +++ b/lib/pages/chat/chat_view.dart @@ -199,7 +199,13 @@ class ChatView extends StatelessWidget { children: [ const Icon(Icons.search), const SizedBox(width: 12), - Text(L10n.of(context)!.search), + Expanded( + child: Text( + L10n.of(context)!.search, + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), + ), ], ), )