From 55735daeec1e033534b6d626e9719d23c6af6027 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 30 Jan 2024 00:49:46 -0600 Subject: [PATCH] group has horizontal padding now Signed-off-by: Jeff Carr --- size.go | 2 +- structs.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/size.go b/size.go index 1feab7a..15b0c75 100644 --- a/size.go +++ b/size.go @@ -43,7 +43,7 @@ func (tk *guiWidget) Size() (int, int) { maxW = sizeW } } - return maxW + me.GroupPadW, maxH + return maxW + me.GroupPadW + 3, maxH } if tk.isFake { return 0, 0 diff --git a/structs.go b/structs.go index 2b1e4ca..60243a8 100644 --- a/structs.go +++ b/structs.go @@ -76,7 +76,7 @@ type config struct { TabPadW int `default:"4" dense:"0"` // additional amount of space to indent on a group - GroupPadW int `default:"4" dense:"1"` + GroupPadW int `default:"2" dense:"1"` // additional amount of space to indent on a group BoxPadW int `default:"2" dense:"1"`