summaryrefslogtreecommitdiff
path: root/size.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 19:58:48 -0600
committerJeff Carr <[email protected]>2025-02-06 19:58:48 -0600
commite39bcafb78d8388ee5bc77366efbab4f3717466c (patch)
tree79a215b8b703f096f710d9175d441ccfdcc585a0 /size.go
parent176831d0f3b7160e3c8fed56c481f43163e9a2b4 (diff)
closer to accurate grid sizes
Diffstat (limited to 'size.go')
-rw-r--r--size.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/size.go b/size.go
index 2dd7332..064d2ae 100644
--- a/size.go
+++ b/size.go
@@ -98,8 +98,6 @@ func (w *guiWidget) sizeGrid() (int, int) {
}
sizeW, sizeH := child.Size()
- sizeW += 2
-
// set the child's realWidth, and grid offset
if w.widths[child.node.State.AtW] < sizeW {
w.widths[child.node.State.AtW] = sizeW