[client] Fix name wrap in DnD

This commit is contained in:
Abhishek Shroff
2024-11-20 00:08:01 +05:30
parent 3b129ccd66
commit 8e671b6ea7

View File

@@ -172,7 +172,12 @@ class ResourceDraggable extends StatelessWidget {
height: 48,
child: ListTile(
leading: resource.getIcon(),
title: Text(resource.name),
title: Text(
resource.name,
softWrap: false,
maxLines: 1,
overflow: TextOverflow.fade,
),
trailing: count == 1 ? null : Badge(label: Text(count.toString(), style: const TextStyle(fontSize: 14))),
),
),