Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sizing seems to be a problem #18

Closed
rjpalermo1 opened this issue Jul 11, 2016 · 2 comments
Closed

Sizing seems to be a problem #18

rjpalermo1 opened this issue Jul 11, 2016 · 2 comments

Comments

@rjpalermo1
Copy link

out of the box fresh launch tried to adjust sizing in settings.json

{
"width": 900,
"height": 650
}

Still launching with a default looks like 500x500 window.

Only way I can get window to size is to hard code values into the main/index.js by overwriting the json.settings.width/height values.

@rjpalermo1
Copy link
Author

Ah - figured it out. In your development.json you have a width value that looks to be overwriting the settings.json width. Removed the width in development.json and now displays screen size I have in the settings.json as expected.

Any reason you have the width and not height spec'd in the development.json I should be aware of?

@alchaplinsky
Copy link
Collaborator

@rjpalermo1 Runtime settings is a merge of config files. settings.json contains initial app settings, thenosx.json adds/overrides OS specific settings and after that development.json adds/overrides env specific settings. Using this you can, for instance, change window size in development so that you could launch app with console opened in dev mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants