diff options
Diffstat (limited to 'toolkit/gocui/debug.go')
| -rw-r--r-- | toolkit/gocui/debug.go | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go index 9d036bb..d8bfd6e 100644 --- a/toolkit/gocui/debug.go +++ b/toolkit/gocui/debug.go @@ -48,15 +48,10 @@ 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("start()=(%2d,%2d) ", w.startW, w.startH) - s1 += fmt.Sprintf("size()=(%2d,%2d) ", w.realWidth, w.realHeight) - s1 += fmt.Sprintf("gocui()=(%2d,%2d,%2d,%2d,%2d,%2d) ", + s1 += fmt.Sprintf("s/n (%2d,%2d) (%2d,%2d) ", w.startW, w.startH, w.nextW, w.nextH) + s1 += fmt.Sprintf("size (%2d,%2d) ", w.realWidth, w.realHeight) + s1 += fmt.Sprintf("gocui=(%2d,%2d)(%2d,%2d,%2d,%2d)", w.gocuiSize.width, w.gocuiSize.height, w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) - switch w.widgetType { - case toolkit.Grid: - s1 += fmt.Sprintf("next()=(%2d,%2d)", w.nextW, w.nextH) - default: - } log(b, s1, s, w.widgetType, ",", w.name) // , "text=", w.text) } |
