summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.go b/debug.go
index 9419a9d..71e6958 100644
--- a/debug.go
+++ b/debug.go
@@ -31,8 +31,9 @@ func (w *guiWidget) showWidgetPlacement(s string) {
}
s1 = fmt.Sprintf("(wId,pId)=(%2d,%2d) ", w.node.WidgetId, pId)
if w.Visible() {
+ sizeW, sizeH := w.Size()
s1 += fmt.Sprintf("gocui=(%2d,%2d)(%2d,%2d,%2d,%2d)",
- w.gocuiSize.Width(), w.gocuiSize.Height(),
+ sizeW, sizeH,
w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1)
} else {
s1 += fmt.Sprintf(" w.Visable() == false ")