summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-30 00:49:46 -0600
committerJeff Carr <[email protected]>2024-01-30 00:49:46 -0600
commit55735daeec1e033534b6d626e9719d23c6af6027 (patch)
tree9c6bb4dfdfe0c6092bc41be8b00382d17fe1a052
parentcbc579e93a89eb9fdb0829811d3d625ac2e766b7 (diff)
group has horizontal padding now
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--size.go2
-rw-r--r--structs.go2
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"`