diff options
| author | Jeff Carr <[email protected]> | 2024-02-05 04:19:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-05 04:19:32 -0600 |
| commit | 94b41aa18a230289e30254b3a23b39c88193159a (patch) | |
| tree | 72f3be3b29cd0bde18e78ca116e65f4832f8625e /click.go | |
| parent | a15aea03ea4d0bc73d3773f7c77b380caa57153c (diff) | |
gadget window displays correctly for some reason
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'click.go')
| -rw-r--r-- | click.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,12 +85,12 @@ func (w *guiWidget) doWidgetClick() { w.showWidgets() case widget.Box: // w.showWidgetPlacement(logNow, "drawTree()") - if w.direction == widget.Horizontal { + if w.node.State.Direction == widget.Horizontal { log.Log(NOW, "BOX IS HORIZONTAL", w.String()) } else { log.Log(NOW, "BOX IS VERTICAL", w.String()) } - w.placeWidgets(me.RawW, me.RawH) + w.placeWidgets(w.startW, w.startH) w.toggleTree() case widget.Button: // doUserEvent(n) |
