go-webview2
go-webview2 copied to clipboard
How to hide titlebar?
How to hide titlebar and App can be moved ? i try to hide titlebar with Hwnd, and html set webkit-app-region: drag but it can't move ...
WebView2 doesn't support webkit-app-region: drag in this way. You can still implement region-based dragging manually, but there is no examples of doing this with go-webview2 right now. Someone has implemented it here using a small bit of JS code. This would need to be ported to use the callback mechanism go-webview2 implements instead of forwarding a COM object.
WebView2 doesn't support
webkit-app-region: dragin this way. You can still implement region-based dragging manually, but there is no examples of doing this with go-webview2 right now. Someone has implemented it here using a small bit of JS code. This would need to be ported to use the callback mechanism go-webview2 implements instead of forwarding a COM object.
Hi , I'm back again I have tried many methods, it may be that I am not capable enough to solve it. At present, there are two problems that need help.
- How to set the window to appear in the center of the screen?
- For the taskbar icons generated by default, the pixels are missing. What should I do to make the icons display perfectly?
We solve a number of these issues in Wails. Feel free to browse the code.