diff options
| author | Jeff Carr <[email protected]> | 2023-04-25 22:24:45 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-25 22:24:45 -0500 |
| commit | 55ea779640098ce71a5f36785634f4e22f3cd601 (patch) | |
| tree | 2e909de2b4790d4d01c92ebba4785e642a6efd09 /toolkit/gocui/view.go | |
| parent | 2de69d0086a5d97a91647ecadf438ac3989759a8 (diff) | |
gocui: hmm. trying to reformat the layout
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/view.go')
| -rw-r--r-- | toolkit/gocui/view.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/gocui/view.go b/toolkit/gocui/view.go index 82d0594..bc5848f 100644 --- a/toolkit/gocui/view.go +++ b/toolkit/gocui/view.go @@ -30,8 +30,8 @@ func (w *cuiWidget) textResize() { } height = i } - w.gocuiSize.width = width + 3 - w.gocuiSize.height = me.defaultHeight + height + w.gocuiSize.width = width + me.FramePadW + w.gocuiSize.height = height + me.FramePadH w.setWH() w.showWidgetPlacement(logNow, "textResize()") } |
