summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-19 04:17:34 -0600
committerJeff Carr <[email protected]>2025-02-19 17:39:45 -0600
commitc64592f326aa4a76d9c773e2d4f8b775fac86b02 (patch)
tree711dd57d08d29e6a7f112a1a9d45fe5db10e8317 /place.go
parent377b08eeb6e21564f09a50db03ddd26e4e1f575f (diff)
more and more
Diffstat (limited to 'place.go')
-rw-r--r--place.go2
1 files changed, 1 insertions, 1 deletions
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