summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-04 09:40:51 -0600
committerJeff Carr <[email protected]>2025-02-04 09:40:51 -0600
commit5a28806bdf79f360e43deb45f3e68623fb3e45a2 (patch)
treef33fd3f3cc254f85866b16167c15206c306008b8 /window.go
parentd2c681f573a44c5cd572dc8e0d6f470c0cda10ff (diff)
getting closer on windows
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)