group has horizontal padding now
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
cbc579e93a
commit
55735daeec
2
size.go
2
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
|
||||
|
|
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue