diff options
| author | Jeff Carr <[email protected]> | 2024-01-28 20:15:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-28 20:15:59 -0600 |
| commit | 3029f04bd2b82eadfe7d5569616c322175a94c64 (patch) | |
| tree | 199ae0b7f98171838439cc8299990e5c91217f18 /debug.go | |
| parent | 63b76b29127aae98f5b709611cfcd036484ebefe (diff) | |
trying to compute sizes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ") |
