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:
Feross Aboukhadijeh
2016-03-08 15:39:39 -08:00
parent 3b3ebc717a
commit 6946ab3507
3 changed files with 47 additions and 27 deletions

View File

@@ -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)