diff options
| author | Jeff Carr <[email protected]> | 2024-01-29 23:39:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-29 23:39:33 -0600 |
| commit | cbc579e93a89eb9fdb0829811d3d625ac2e766b7 (patch) | |
| tree | 566b8aef6c51beca99db4e2edf25b6884bae08d7 /size.go | |
| parent | d58eee556cd925e365f30fad48d6212c769976d6 (diff) | |
trying to fix padding
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'size.go')
| -rw-r--r-- | size.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |
