diff options
| author | Jeff Carr <[email protected]> | 2025-02-05 14:48:35 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-05 14:48:35 -0600 |
| commit | 85eda6aeb8f6958fc34f677c26e9bfe726382da4 (patch) | |
| tree | 53b77035de64884a6a11f5941b9570822307ab03 | |
| parent | 8dd0f88e7ccd8c9517ef39f46ba12dde9737013c (diff) | |
actually there. fire in the hole
| -rw-r--r-- | window.go | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -41,17 +41,18 @@ func (tk *guiWidget) redrawWindow(w int, h int) { tk.windowFrame.node.State.Label = "windowFrame" tk.windowFrame.makeTK([]string{"windowFrame"}) } - tk.windowFrame.MoveToOffset(w, h+2) + // tk.windowFrame.MoveToOffset(w, h+2) r := tk.getFullSize() tk.windowFrame.gocuiSize.w0 = r.w0 - tk.windowFrame.gocuiSize.w1 = r.w1 - tk.windowFrame.gocuiSize.h0 = r.h0 - tk.windowFrame.gocuiSize.h1 = r.h1 + tk.windowFrame.gocuiSize.w1 = r.w1 + 1 + tk.windowFrame.gocuiSize.h0 = r.h0 + 2 + tk.windowFrame.gocuiSize.h1 = r.h1 + 1 tk.windowFrame.full.w0 = r.w0 - tk.windowFrame.full.w1 = r.w1 - tk.windowFrame.full.h0 = r.h0 - tk.windowFrame.full.h1 = r.h1 + tk.windowFrame.full.w1 = r.w1 + 1 + tk.windowFrame.full.h0 = r.h0 + 2 + tk.windowFrame.full.h1 = r.h1 + 1 // tk.windowFrame.drawView() + tk.windowFrame.Hide() tk.windowFrame.Show() me.baseGui.SetViewBeneath(tk.windowFrame.cuiName, tk.cuiName, 1) me.baseGui.SetView(tk.windowFrame.cuiName, tk.windowFrame.full.w0, tk.windowFrame.full.h0, tk.windowFrame.full.w1, tk.windowFrame.full.h1, 0) |
