瀏覽代碼

Wrap filename

vishnukvmd 3 年之前
父節點
當前提交
730a24cea5
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      lib/ui/file_info_dialog.dart

+ 5 - 2
lib/ui/file_info_dialog.dart

@@ -182,9 +182,12 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
         child: Row(
         child: Row(
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           children: [
           children: [
-            Text(
-              file.getDisplayName(),
+            Flexible(
+              child: Text(
+                file.getDisplayName(),
+              ),
             ),
             ),
+            Padding(padding: EdgeInsets.all(8)),
             Icon(
             Icon(
               Icons.edit,
               Icons.edit,
               color: Colors.white.withOpacity(0.85),
               color: Colors.white.withOpacity(0.85),