group has horizontal padding now

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-30 00:49:46 -06:00
parent cbc579e93a
commit 55735daeec
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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