summaryrefslogtreecommitdiff
path: root/size.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 /size.go
parentbff0943dc51dde0545b9e1a1515df06c44017d70 (diff)
things resized
Diffstat (limited to 'size.go')
-rw-r--r--size.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/size.go b/size.go
index 68dcf38..f0cff48 100644
--- a/size.go
+++ b/size.go
@@ -76,7 +76,7 @@ func (tk *guiWidget) Size() (int, int) {
case widget.Label:
return len(tk.String()) + 2, 1
case widget.Textbox:
- return len(tk.String()) + 10, 3 // TODO: compute this based on 'window dense'
+ return len(tk.String()) + 2, 3 // TODO: compute this based on 'window dense'
case widget.Checkbox:
return len(tk.String()) + 2, 3 // TODO: compute this based on 'window dense'
case widget.Button: