mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Increase WebUI window heights
Using a max height of 600px to avoid unnecessarily tall windows.
This commit is contained in:
parent
c65c40a5cb
commit
6b1481d328
@ -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…
Reference in New Issue
Block a user