summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-04 09:40:51 -0600
committerJeff Carr <[email protected]>2025-02-04 09:40:51 -0600
commit5a28806bdf79f360e43deb45f3e68623fb3e45a2 (patch)
treef33fd3f3cc254f85866b16167c15206c306008b8 /debug.go
parentd2c681f573a44c5cd572dc8e0d6f470c0cda10ff (diff)
getting closer on windows
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.go b/debug.go
index e97c952..d781dae 100644
--- a/debug.go
+++ b/debug.go
@@ -38,11 +38,11 @@ func (tk *guiWidget) dumpWidget(s string) {
sizeW, sizeH := tk.Size()
s1 += fmt.Sprintf("size=(%3d,%3d)", sizeW, sizeH)
if tk.Visible() {
+ r := tk.setFullSize()
s1 += fmt.Sprintf("gocui=(%3d,%3d,%3d,%3d)",
tk.gocuiSize.w0, tk.gocuiSize.h0, tk.gocuiSize.w1, tk.gocuiSize.h1)
// vx0, vy0, vx1, vy1, _ := me.baseGui.ViewPosition("msg")
// vw0, vh0, vw1, vh1, _ := me.baseGui.ViewPosition(tk.v.Name())
- r := tk.getFullSize()
s1 += fmt.Sprintf(" full=(%3d,%3d,%3d,%3d)", r.w0, r.h0, r.w1, r.h1)
} else {
s1 += fmt.Sprintf(" %3s %3s %3s %3s ", "", "", "", "")