diff options
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ", "", "", "", "") |
