diff options
author | gokaysatir <gokaysatir@gmail.com> | 2020-04-28 10:52:01 +0300 |
---|---|---|
committer | gokaysatir <gokaysatir@gmail.com> | 2020-05-09 15:41:15 +0300 |
commit | 46bdaea40a5327dcea68c2fc449d7fa60387cbc0 (patch) | |
tree | 52cd28637d441adb82a403b9b3ab02287e65cee2 | |
parent | 9befccea1edfd3659146353d60e7c94a0e6748ed (diff) |
Save As Dialog Input Width Will Be Increased For Better Usage #931
Signed-off-by: gokaysatir <gokaysatir@gmail.com>
-rw-r--r-- | src/document.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document.js b/src/document.js index e400fbfd..9e80acca 100644 --- a/src/document.js +++ b/src/document.js @@ -342,6 +342,8 @@ const documentsMain = { $buttons.eq(0).text(t('richdocuments', 'Cancel')) $buttons.eq(1).text(t('richdocuments', 'Save')) var nameInput = $dialog.find('input')[0] + nameInput.style.minWidth = '250px' + nameInput.style.maxWidth = '400px' nameInput.value = documentsMain.fileName nameInput.selectionStart = 0 nameInput.selectionEnd = documentsMain.fileName.lastIndexOf('.') |