Add maxLines and overflow properties to file name display for better UI handling
This commit is contained in:
@@ -1275,6 +1275,8 @@ class _FileExplorerState extends State<FileExplorer>
|
||||
file.type == FileType.folder
|
||||
? (file.name.startsWith('/') ? file.name : '/${file.name}')
|
||||
: file.name,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(color: AppTheme.primaryText),
|
||||
),
|
||||
subtitle: Text(
|
||||
|
||||
Reference in New Issue
Block a user