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

Save window size and position. #61

Merged
merged 1 commit into from Dec 29, 2012

Conversation

mutru
Copy link
Contributor

@mutru mutru commented Dec 28, 2012

Window size can be still set using macgap.window.resize(), but if it's not,
last known window size and position is used. This gives more control to the
end user, who can now resize and reposition the window as they wish.

To test, open a MacGap app, move and resize the window, close the app and start it again.

Window size can be set using macgap.window.resize(), but if it's not,
last known window size and position is used. This gives more control to the
end-user.
maccman added a commit that referenced this pull request Dec 29, 2012
@maccman maccman merged commit f8e1adc into MacGapProject:master Dec 29, 2012
@chriskol
Copy link
Member

does this still work? I've just tried building an app with no macgap.window.resize() , opened it, resized it, closed the app, and re-opened. It keeps going back to the default size?

Tbh the only line of code in my app is
window.location.href = 'http://my.web.site';

so is something there messing with it?

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

Successfully merging this pull request may close these issues.

None yet

3 participants