jchv/go-webview2

Resizing window

hajsf opened this issue · 1 comments

hajsf commented

Is there an option to allow or an allow windows resizing?

jchv commented

I am probably far too late for this to be helpful, but for future reference, this can be done using the hints parameter to SetSize. Specifically, call it and pass HintNone to set the window size and allow the window to be resized. Call it again with HintMin and HintMax to define the minimum and maximum window sizes, if desired.