diff options
| author | Jeff Carr <[email protected]> | 2025-02-05 16:30:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-05 16:30:06 -0600 |
| commit | efebe00640b7b44821c37fd2c9479c579bebc392 (patch) | |
| tree | c5bcf67022d282ede1d2ab890aada1065a3cfa4f /debug.go | |
| parent | 07f6b7842e9ee6c933be365ab24839aec5c07298 (diff) | |
window dragging works fairly well
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 { |
