diff options
Diffstat (limited to 'place.go')
| -rw-r--r-- | place.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
