summaryrefslogtreecommitdiff
path: root/size.go
diff options
context:
space:
mode:
Diffstat (limited to 'size.go')
-rw-r--r--size.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/size.go b/size.go
index d04a8e8..1feab7a 100644
--- a/size.go
+++ b/size.go
@@ -43,7 +43,7 @@ func (tk *guiWidget) Size() (int, int) {
maxW = sizeW
}
}
- return maxW, maxH
+ return maxW + me.GroupPadW, maxH
}
if tk.isFake {
return 0, 0
@@ -75,7 +75,7 @@ func (w *guiWidget) sizeGrid() (int, int) {
for _, h := range w.heights {
totalH += h
}
- return totalW, totalH
+ return totalW + me.GridPadW, totalH
}
func (tk *guiWidget) sizeBox() (int, int) {
@@ -99,5 +99,5 @@ func (tk *guiWidget) sizeBox() (int, int) {
}
}
}
- return maxW, maxH
+ return maxW + me.BoxPadW, maxH
}