Set min size (#82)

This commit is contained in:
Leo Lamprecht 2016-07-14 16:55:24 +02:00 committed by Guillermo Rauch
parent 80593800e3
commit f9f1e2ddec

View file

@ -43,6 +43,8 @@ app.on('ready', () => {
let win = new BrowserWindow({ let win = new BrowserWindow({
width: 540, width: 540,
height: 380, height: 380,
minHeight: 190,
minWidth: 370,
titleBarStyle: 'hidden-inset', titleBarStyle: 'hidden-inset',
title: 'HyperTerm', title: 'HyperTerm',
backgroundColor: toHex(config.getConfig().backgroundColor || '#000'), backgroundColor: toHex(config.getConfig().backgroundColor || '#000'),