summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/debug.go b/debug.go
index ff78f93..bde2cd1 100644
--- a/debug.go
+++ b/debug.go
@@ -30,9 +30,13 @@ func (w *guiWidget) dumpWindows(s string) {
log.Log(ERROR, "dump w.TK == nil", w.node.WidgetId, w.node.WidgetType, w.String())
return
}
- s += fmt.Sprintf("(%d,%d)", w.force.w0, w.force.h0)
if w.node.WidgetType == widget.Window {
+ s += fmt.Sprintf(" F(%d,%d)", w.force.w0, w.force.h0)
+ // can't set this here. doesn't work
+ // w.full.w0 = w.force.w0
+ // w.full.h0 = w.force.h0
w.dumpWidget("dumpWindow() " + s)
+ w.windowFrame.dumpWidget("dumpFrame() " + s)
}
for _, child := range w.children {