fix(min-height): Reduce minimum window size to 250px. Fixes #1293

This commit is contained in:
Ben Gotow 2016-02-10 12:39:13 -08:00
parent b21bb4bc9b
commit 793fc5ef2c
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ module.exports =
ComponentRegistry.register ComposeButton, ComponentRegistry.register ComposeButton,
location: WorkspaceStore.Location.RootSidebar.Toolbar location: WorkspaceStore.Location.RootSidebar.Toolbar
else else
NylasEnv.getCurrentWindow().setMinimumSize(480, 400) NylasEnv.getCurrentWindow().setMinimumSize(480, 250)
WorkspaceStore.defineSheet 'Main', {root: true}, WorkspaceStore.defineSheet 'Main', {root: true},
popout: ['Center'] popout: ['Center']

View file

@ -687,7 +687,7 @@ class NylasEnvConstructor extends Model
document.getElementById("application-loading-cover").remove() document.getElementById("application-loading-cover").remove()
document.body.classList.add("window-loaded") document.body.classList.add("window-loaded")
@restoreWindowDimensions() @restoreWindowDimensions()
@getCurrentWindow().setMinimumSize(875, 500) @getCurrentWindow().setMinimumSize(875, 250)
registerCommands: -> registerCommands: ->
{resourcePath} = @getLoadSettings() {resourcePath} = @getLoadSettings()