summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 18:43:48 -0600
committerJeff Carr <[email protected]>2025-02-08 18:43:48 -0600
commitba629f1892ff99e40f8c3419e3ae1eaf7ed4c71d (patch)
treee7c6a8bbd73fda7f6877616ceef94ec941788a3e /textbox.go
parentbff0943dc51dde0545b9e1a1515df06c44017d70 (diff)
things resized
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go5
1 files changed, 5 insertions, 0 deletions
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)
}
}