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

showSaveDialog position #20

Open
xiaojay opened this issue Jun 22, 2019 · 0 comments
Open

showSaveDialog position #20

xiaojay opened this issue Jun 22, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@xiaojay
Copy link
Contributor

xiaojay commented Jun 22, 2019

when you want to create a response file for slate file received, showSaveDialog windows pop up.
And the position of showSaveDialog windows is not center of main windows.
I just have not found a correct api to set the position in electron api.

Related code:

let fn_output = this.$electron.remote.dialog.showSaveDialog({

Related electron api:
https://electronjs.org/docs/api/dialog

@xiaojay xiaojay added enhancement New feature or request help wanted Extra attention is needed labels Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant