From 95f7c142962b921573a42928b5dabeb34b6e51e2 Mon Sep 17 00:00:00 2001 From: estevez Date: Sat, 29 Sep 2018 18:02:29 +0300 Subject: [PATCH] Fix entity name padding --- lib/entity.class.dart | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/entity.class.dart b/lib/entity.class.dart index 246006a..586b93a 100644 --- a/lib/entity.class.dart +++ b/lib/entity.class.dart @@ -136,12 +136,15 @@ class Entity { } Widget _buildNameWidget() { - return Text( - "${this.displayName}", - overflow: TextOverflow.fade, - softWrap: false, - style: TextStyle( - fontSize: 16.0 + return Padding( + padding: EdgeInsets.only(right: 10.0), + child: Text( + "${this.displayName}", + overflow: TextOverflow.ellipsis, + softWrap: false, + style: TextStyle( + fontSize: 16.0 + ), ), ); }