From ba629f1892ff99e40f8c3419e3ae1eaf7ed4c71d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Feb 2025 18:43:48 -0600 Subject: things resized --- size.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'size.go') 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: -- cgit v1.2.3