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

[desktop_webview_window] More control over webview position and size under windows #206

Merged

Conversation

Iri-Hor
Copy link
Contributor

@Iri-Hor Iri-Hor commented Jan 23, 2023

This PR adresses #205. It enables a plugin user to exactly specify the exact position and size of the webview window in pixels. Its also possible to open the webview window maximized.

Currently the new feature is only available for windows. This PR is a suggestion how such a new feature could look like. The current behaviour is to scale the given size to 96 dpi (no matter what the actual dpi of the monitor is) and open the webview window centered on the main screen. If the size ist too big, its just clipped and not centered correctly anymore. I dont understand the idea behind this

@Iri-Hor Iri-Hor changed the title [desktop_webview_windows] More control webview position and windows [desktop_webview_windows] More control over webview position and size under windows Jan 23, 2023
@Iri-Hor Iri-Hor changed the title [desktop_webview_windows] More control over webview position and size under windows [desktop_webview_window] More control over webview position and size under windows Jan 26, 2023
@crossle crossle merged commit ef7924c into MixinNetwork:main Jul 31, 2023
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

2 participants