diff options
| author | Jeff Carr <[email protected]> | 2024-02-05 03:05:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-05 03:05:37 -0600 |
| commit | 063c40accd0c866567c2a580a4fa5243f4ad82b3 (patch) | |
| tree | 4911e0503b2155d5eee410cdd6428333809591fc /window.go | |
| parent | 2ee37e5c209f64a09d4088b8895880deb084d0ee (diff) | |
function rename
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -17,8 +17,11 @@ func (w *guiWidget) redoWindows(nextW int, nextH int) { child.hasTabs = false child.gocuiSetWH(nextW, nextH) - child.deleteView() - child.showView() + child.Hide() + + // use the direct method recreateView() to + // bypass sanity checks here (fix this?) + child.recreateView() sizeW := child.gocuiSize.Width() nextW += sizeW + 4 child.redoWindows(startW+3, startH+2) |
