move up the primary box
This commit is contained in:
parent
546a4e022b
commit
70a742c98a
4
place.go
4
place.go
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue