From 3218d7fd4aa062c707d6ff6f31c4b476df6e8dc9 Mon Sep 17 00:00:00 2001 From: Satoshi Nagasaka Date: Thu, 13 Feb 2020 18:46:07 +0900 Subject: [PATCH] Fixed text overflow on trending page --- lib/screens/gh_trending.dart | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/screens/gh_trending.dart b/lib/screens/gh_trending.dart index 56de5b1..cdeec55 100644 --- a/lib/screens/gh_trending.dart +++ b/lib/screens/gh_trending.dart @@ -60,12 +60,15 @@ class GhTrendingScreen extends StatelessWidget { color: theme.palette.secondaryText, ), SizedBox(width: 4), - Text( - '${v.username} / ${v.repo.name}', - style: TextStyle( - fontSize: 17, - color: theme.palette.secondaryText, - ), + Expanded( + child: Text( + '${v.username} / ${v.repo.name}', + style: TextStyle( + fontSize: 17, + color: theme.palette.secondaryText, + ), + overflow: TextOverflow.ellipsis, + ) ) ], ),