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

How to set the window position? #426

Closed
xwartz opened this issue May 21, 2016 · 5 comments
Closed

How to set the window position? #426

xwartz opened this issue May 21, 2016 · 5 comments
Labels

Comments

@xwartz
Copy link

xwartz commented May 21, 2016

image

How do i center the installing window on screen ?

And this is my resp (https://github.com/xwartz/douban.fm/).

@develar
Copy link
Member

develar commented May 21, 2016

@xwartz
Copy link
Author

xwartz commented May 21, 2016

I see the window options

// Window options
  "window": {
    // Position when opened
    "position": { "x": 250, "y": 250 },

    // Window size
    "size": { "width": 500, "height": 500 }
  },

@develar
Copy link
Member

develar commented May 21, 2016

Yes, but screen size is different, so, it is not clear for me how to center using x/y.

@xwartz
Copy link
Author

xwartz commented May 21, 2016

OK. I see.

@xwartz xwartz closed this as completed May 23, 2016
@develar
Copy link
Member

develar commented May 23, 2016

appdmg issue: LinusU/node-appdmg#104

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

No branches or pull requests

2 participants