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