summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
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)
}
}