Skip to content

Commit

Permalink
Textoverflow: Ellipsis 2 clip
Browse files Browse the repository at this point in the history
  • Loading branch information
Monz Philipp authored and Hannich Matthias committed Aug 16, 2023
1 parent 230778d commit 1316186
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/pages/addressbook/addressbook_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class AddressbookView extends StatelessWidget {
: (e.kind == 'group')
? '${e.title} (${e.info}) (${e.scgroupUsersActive!.length}/${e.scgroupUsersActive!.length + e.scgroupUsersInactive!.length})'
: '${e.title} (${e.info})',
overflow: TextOverflow.ellipsis,
overflow: TextOverflow.clip,
style: TextStyle(
decoration: (e.active || e.kind == 'group')
? TextDecoration.none
Expand Down Expand Up @@ -198,7 +198,7 @@ class AddressbookView extends StatelessWidget {
: (entry.node.kind == 'group')
? '${entry.node.title} (${entry.node.scgroupUsersActive!.length}/${entry.node.scgroupUsersActive!.length + entry.node.scgroupUsersInactive!.length})'
: entry.node.title,
overflow: TextOverflow.ellipsis,
overflow: TextOverflow.clip,
style: TextStyle(
decoration: (entry.node.active ||
entry.node.category ||
Expand Down Expand Up @@ -251,7 +251,7 @@ class AddressbookView extends StatelessWidget {
Expanded(
child: Text(
'${e.title} (${e.info})',
overflow: TextOverflow.ellipsis,
overflow: TextOverflow.clip,
),
),
],
Expand All @@ -278,7 +278,7 @@ class AddressbookView extends StatelessWidget {
Expanded(
child: Text(
'${controller.usersInSCGroups.where((u) => u.username == groupMemberName).toList().first.longName} (via ${e.title})',
overflow: TextOverflow.ellipsis,
overflow: TextOverflow.clip,
),
)
],
Expand All @@ -300,7 +300,7 @@ class AddressbookView extends StatelessWidget {
(e.longName != null && e.longName!.isNotEmpty)
? '${e.longName} (${e.info})'
: '${e.title} (${e.info})',
overflow: TextOverflow.ellipsis,
overflow: TextOverflow.clip,
),
),
],
Expand Down

0 comments on commit 1316186

Please sign in to comment.