move up the primary box

This commit is contained in:
Jeff Carr 2025-02-05 17:53:57 -06:00
parent 546a4e022b
commit 70a742c98a
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
case widget.Window:
tk.full.w0 = startW
tk.full.h0 = startH
startW += 4
startH += 4
startW += -2
startH += 3
for _, child := range tk.children {
child.placeWidgets(startW, startH)
sizeW, _ := child.Size()