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"`