diff options
| author | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
| commit | 19e6ea76f3c09fe3a5d9a4d4caff7d14571f4ba5 (patch) | |
| tree | 6e1c9e86c9a591d6b0a7ca686026d783de1d67ac /toolkit/gocui/common.go | |
| parent | cb0e8a7146c055b47f42d0a1005b93e08492e6ca (diff) | |
andlabs: debugging flags working againv0.8.6
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/common.go')
| -rw-r--r-- | toolkit/gocui/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/gocui/common.go b/toolkit/gocui/common.go index 94b63b1..325a556 100644 --- a/toolkit/gocui/common.go +++ b/toolkit/gocui/common.go @@ -15,10 +15,10 @@ func makeWidget(a *toolkit.Action) *cuiWidget { w.b = a.B w.i = a.I w.s = a.S + w.X = a.X w.Y = a.Y - t := len(w.text) w.gocuiSize.w1 = w.gocuiSize.w0 + t + me.PadW w.gocuiSize.h1 = w.gocuiSize.h0 + me.DefaultHeight + me.PadH |
