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

Frameless and fixed position possible? #37

Open
TheFranconianCoder opened this issue Feb 12, 2022 · 1 comment
Open

Frameless and fixed position possible? #37

TheFranconianCoder opened this issue Feb 12, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@TheFranconianCoder
Copy link

Hi, I have a small background application which sits in the Tray. Via menu entry there one can open a little WebView2 front-end. In this case I would like to open it without any system frame and next to the Tray with a fixed position. Would something like this be possible with WebView2? I could image it's even totally independent to WebView2 and I just miss the knowledge of doing it with syscalls etc. TIA.

@jchv
Copy link
Owner

jchv commented Feb 12, 2022

Right now, go-webview2 doesn’t allow you to customize the window that gets created to host the webview2 component very much, but this could be improved in the future.

In theory, it is also possible to tell go-webview2 to spawn the webview2 component into an already existing window, but I think that was broken at some point. This is a part of the library that could use some improvement.

@jchv jchv added the enhancement New feature or request label Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants