From fd56d89cc8f4cf3f839e831f7981fc15158d8800 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 3 Feb 2024 19:28:19 -0600 Subject: trying to debug SetText() Signed-off-by: Jeff Carr --- size.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'size.go') diff --git a/size.go b/size.go index f1b1d75..4fe3b43 100644 --- a/size.go +++ b/size.go @@ -55,6 +55,8 @@ func (tk *guiWidget) Size() (int, int) { } } return maxW + me.GroupPadW + 3, maxH + case widget.Label: + return len(tk.String()) + 2, 1 case widget.Checkbox: return len(tk.String()) + 2, 3 } -- cgit v1.2.3