Fermium / datalogger

The Datalogger physicists deserve
0 stars 0 forks source link

limit min width height #76

Closed ddavidebor closed 7 years ago

ddavidebor commented 7 years ago

You should limit both min width and heigh to something where you the UI can be displayed correctly

https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions

wtubog commented 7 years ago

@ddavidebor I'm proposing to have a minimum screen width of 768px - this is equivalent to a mobile portrait tablet view..

wtubog commented 7 years ago

Also, no need to set min height.. Width only :D

ddavidebor commented 7 years ago

Well we've got to set a minimun height otherwise this happens:

screen shot 2017-08-23 at 12 54 51

I'd prefer it working around 500px, but if that's not convenient 768px is ok

wtubog commented 7 years ago

@ddavidebor I've set min width to 800px and min height to 600px.