-
Notifications
You must be signed in to change notification settings - Fork 10
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 postion of the window? #15
Comments
Thanks for your feedback. But unfortunately our upstream project, webview, does not support this feature, so we can't do that. This repo is only a Node.js binding for webview. If you need new features, you could send you feedback to webview. I would be happy to try making API bindings after webview adding them. |
You may see this feature request in webview: webview/webview#642, in which it mentioned a method to center the window using C++. webview-nodejs support setting the target window handle. So if you can create a centered window, and pass the handle to webview-nodejs by using |
Thank you, It's seem nothing I can do with this. I may try workaround with xdotool |
Is there a way to change the position of the window. For example, I'd like to make it in the center of the screen. Thank you!
The text was updated successfully, but these errors were encountered: