summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/window.go b/window.go
index 217f777..36e1aed 100644
--- a/window.go
+++ b/window.go
@@ -20,10 +20,11 @@ func (w *guiWidget) redoWindows(nextW int, nextH int) {
child.frame = false
child.hasTabs = false
- child.gocuiSetWH(nextW, nextH)
+ // this should make the window the full size and re-draw it
+ child.setFullSize() // child.gocuiSetWH(nextW, nextH)
child.Hide()
-
child.drawView()
+
sizeW := child.gocuiSize.Width()
nextW += sizeW + 4
child.redoWindows(startW+3, startH+2)