From c64592f326aa4a76d9c773e2d4f8b775fac86b02 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 19 Feb 2025 04:17:34 -0600 Subject: more and more --- place.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'place.go') diff --git a/place.go b/place.go index b77a505..11038a1 100644 --- a/place.go +++ b/place.go @@ -50,7 +50,7 @@ func (w *guiWidget) placeBox(startW int, startH int) { // re-get the Size (they should not have changed, but maybe they can?) // TODO: figure this out or report that they did sizeW, sizeH = child.Size() - if w.node.State.Direction == widget.Vertical { + if w.Direction() == widget.Vertical { log.Log(INFO, "BOX IS VERTICAL ", w.String(), "newWH()", newW, newH, "child()", sizeW, sizeH, child.String()) // expand based on the child height newH += sizeH -- cgit v1.2.3