Browse Source

Merge pull request #11030 from qbittorrent/webui-increase-window-height

Increase WebUI window heights
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
f31bcc384e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/webui/www/private/scripts/mocha-init.js

8
src/webui/www/private/scripts/mocha-init.js

@ -153,7 +153,7 @@ const initializeWindows = function() {
paddingVertical: 0, paddingVertical: 0,
paddingHorizontal: 0, paddingHorizontal: 0,
width: loadWindowWidth(id, 500), width: loadWindowWidth(id, 500),
height: loadWindowHeight(id, 420), height: loadWindowHeight(id, 600),
onResize: function() { onResize: function() {
saveWindowSize(id); saveWindowSize(id);
} }
@ -179,7 +179,7 @@ const initializeWindows = function() {
paddingVertical: 0, paddingVertical: 0,
paddingHorizontal: 0, paddingHorizontal: 0,
width: loadWindowWidth(id, 700), width: loadWindowWidth(id, 700),
height: loadWindowHeight(id, 500), height: loadWindowHeight(id, 600),
onResize: function() { onResize: function() {
saveWindowSize(id); saveWindowSize(id);
} }
@ -200,7 +200,7 @@ const initializeWindows = function() {
paddingVertical: 0, paddingVertical: 0,
paddingHorizontal: 0, paddingHorizontal: 0,
width: loadWindowWidth(id, 500), width: loadWindowWidth(id, 500),
height: loadWindowHeight(id, 260), height: loadWindowHeight(id, 460),
onResize: function() { onResize: function() {
saveWindowSize(id); saveWindowSize(id);
} }
@ -928,7 +928,7 @@ const initializeWindows = function() {
toolbarURL: 'aboutToolbar.html', toolbarURL: 'aboutToolbar.html',
padding: 10, padding: 10,
width: loadWindowWidth(id, 550), width: loadWindowWidth(id, 550),
height: loadWindowHeight(id, 290), height: loadWindowHeight(id, 360),
onResize: function() { onResize: function() {
saveWindowSize(id); saveWindowSize(id);
} }

Loading…
Cancel
Save