diff options
Diffstat (limited to 'toolkit/gocui/debug.go')
| -rw-r--r-- | toolkit/gocui/debug.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go index aa12281..421b84c 100644 --- a/toolkit/gocui/debug.go +++ b/toolkit/gocui/debug.go @@ -46,8 +46,9 @@ func (w *cuiWidget) showWidgetPlacement(b bool, s string) { pId = w.parent.id } s1 = fmt.Sprintf("(wId,pId)=(%2d,%2d) ", w.id, pId) - s1 += fmt.Sprintf("real()=(%2d,%2d,%2d,%2d) ", w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) + s1 += fmt.Sprintf("W,H()=(%2d,%2d) ", w.startW, w.startH) s1 += fmt.Sprintf("size()=(%2d,%2d) ", w.realWidth, w.realHeight) + s1 += fmt.Sprintf("real()=(%2d,%2d,%2d,%2d) ", w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) switch w.widgetType { case toolkit.Grid: |
