window useContentSize
This commit is contained in:
@@ -21,6 +21,7 @@ function createMainWindow () {
|
|||||||
show: false, // Hide window until DOM finishes loading
|
show: false, // Hide window until DOM finishes loading
|
||||||
title: config.APP_NAME,
|
title: config.APP_NAME,
|
||||||
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
|
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
|
||||||
|
useContentSize: true, // Specify web page size without OS chrome
|
||||||
width: 450,
|
width: 450,
|
||||||
height: 38 + (120 * 4) // header height + 4 torrents
|
height: 38 + (120 * 4) // header height + 4 torrents
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user