diff --git a/src/webui/www/private/rename_file.html b/src/webui/www/private/rename_file.html
index 93bcf4334..49cdbada8 100644
--- a/src/webui/www/private/rename_file.html
+++ b/src/webui/www/private/rename_file.html
@@ -85,7 +85,7 @@
QBT_TR(New name:)QBT_TR[CONTEXT=TorrentContentTreeView]
-
+
diff --git a/src/webui/www/private/scripts/prop-files.js b/src/webui/www/private/scripts/prop-files.js
index 3381c5b00..2242fd81f 100644
--- a/src/webui/www/private/scripts/prop-files.js
+++ b/src/webui/www/private/scripts/prop-files.js
@@ -561,11 +561,11 @@ window.qBittorrent.PropFiles = (function() {
contentURL: 'rename_file.html?hash=' + hash + '&isFolder=' + node.isFolder
+ '&path=' + encodeURIComponent(path),
scrollbars: false,
- resizable: false,
+ resizable: true,
maximizable: false,
paddingVertical: 0,
paddingHorizontal: 0,
- width: 250,
+ width: 400,
height: 100
});
},