[windows] Support drawing a frame for frameless to support hiding the titlebar

This commit is contained in:
stffabi
2021-12-01 15:06:46 +01:00
parent ec1a535acb
commit 47d783291d
4 changed files with 23 additions and 7 deletions

View File

@@ -40,9 +40,10 @@ func main() {
app,
},
Windows: &windows.Options{
WebviewIsTransparent: false,
WindowIsTranslucent: false,
DisableWindowIcon: false,
WebviewIsTransparent: false,
WindowIsTranslucent: false,
DisableWindowIcon: false,
EnableFramelessBorder: false,
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{