style improvements
- make torrent placeholder the exact size of a normal torrent - make torrent list window minimum size of two torrents - make window start out sized for 4 torrents - increase font size responsively
This commit is contained in:
@@ -21,12 +21,12 @@ function createMainWindow (menu) {
|
||||
backgroundColor: '#282828',
|
||||
darkTheme: true, // Forces dark theme (GTK+3 only)
|
||||
minWidth: 375,
|
||||
minHeight: 38 + (120 * 2), // header height + two torrents
|
||||
minHeight: 38 + (120 * 2), // header height + 2 torrents
|
||||
show: false, // Hide window until DOM finishes loading
|
||||
title: config.APP_NAME,
|
||||
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
|
||||
width: 450,
|
||||
height: 600
|
||||
height: 38 + (120 * 4) // header height + 4 torrents
|
||||
})
|
||||
win.loadURL(config.INDEX)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user