From 5a28806bdf79f360e43deb45f3e68623fb3e45a2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 4 Feb 2025 09:40:51 -0600 Subject: getting closer on windows --- window.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'window.go') 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) -- cgit v1.2.3