Fix resize on windows

This commit is contained in:
Lea Anthony
2023-10-16 19:29:42 +11:00
parent 59273fcdab
commit 131a6da554
10 changed files with 48 additions and 18 deletions
@@ -136,6 +136,7 @@ func (w *windowsWebviewWindow) setURL(url string) {
func (w *windowsWebviewWindow) setResizable(resizable bool) {
w.setStyle(resizable, w32.WS_THICKFRAME)
w.execJS(fmt.Sprintf("window._wails.setResizable(%v);", resizable))
}
func (w *windowsWebviewWindow) setMinSize(width, height int) {