From ba629f1892ff99e40f8c3419e3ae1eaf7ed4c71d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Feb 2025 18:43:48 -0600 Subject: things resized --- textbox.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'textbox.go') diff --git a/textbox.go b/textbox.go index 7537944..ecbba52 100644 --- a/textbox.go +++ b/textbox.go @@ -109,6 +109,11 @@ func textboxClosed() { win := me.textbox.callerTK.findParentWindow() if win != nil { win.dumpWidget("redraw this!!!") + tk := me.textbox.callerTK + me.textbox.callerTK.dumpWidget("resize this!!!") + me.textbox.callerTK.Size() + me.textbox.callerTK.placeWidgets(tk.gocuiSize.w0-4, tk.gocuiSize.h0-4) + tk.dumpWidget("resize:" + tk.String()) win.redrawWindow(win.gocuiSize.w0, win.gocuiSize.h0) } } -- cgit v1.2.3