diff options
| author | Jeff Carr <[email protected]> | 2023-04-05 19:33:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-05 19:33:31 -0500 |
| commit | 0c46d57acdd77965747cfc0e4ffd109332d85c89 (patch) | |
| tree | e455c93fd162e784b1fc5493e9de6df80e356412 /toolkit/gocui/view.go | |
| parent | f0052b9af8273feb852ba5bdfc3efb3673ff329e (diff) | |
more fixes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/view.go')
| -rw-r--r-- | toolkit/gocui/view.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toolkit/gocui/view.go b/toolkit/gocui/view.go index 89059c2..c1a514b 100644 --- a/toolkit/gocui/view.go +++ b/toolkit/gocui/view.go @@ -30,10 +30,9 @@ func (w *cuiWidget) textResize() { } height = i } - w.realWidth = width + 3 - w.realHeight = me.defaultHeight + height - w.gocuiSize.w1 = w.gocuiSize.w0 + w.realWidth - w.gocuiSize.h1 = w.gocuiSize.h0 + w.realHeight + w.gocuiSize.width = width + 3 + w.gocuiSize.height = me.defaultHeight + height + w.setWH() w.showWidgetPlacement(logNow, "textResize()") } |
