Open ktye opened 3 years ago
Sometimes dialogs appear on the wrong monitor (different from the main window, which is the owner).
example:
go build -ldflags=-H windowsgui"
go build
this seems to fix it
file walk/dialog.go: 181 dlg.SetBoundsPixels(fitRectToScreen(dlg.owner.Handle(), Rectangle{ 182 //dlg.SetBoundsPixels(fitRectToScreen(dlg.hWnd, Rectangle{
isn't that the intention, to look for the monitor of the parent widget?
Sometimes dialogs appear on the wrong monitor (different from the main window, which is the owner).
example:
go build -ldflags=-H windowsgui"
(it does not happen withgo build
alone)this seems to fix it
isn't that the intention, to look for the monitor of the parent widget?