diff options
| author | Jeff Carr <[email protected]> | 2023-04-05 13:06:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-05 13:06:42 -0500 |
| commit | 29efacf6f60d92231381699bc27d44d515a4063c (patch) | |
| tree | 4116b76bb7c2dc300cb93f92ec2ea66d57eeccf0 /toolkit/gocui/click.go | |
| parent | 693a6f4398604e9932d714d24adc5c12472e750b (diff) | |
gocui: rework spacing logic
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/click.go')
| -rw-r--r-- | toolkit/gocui/click.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/toolkit/gocui/click.go b/toolkit/gocui/click.go index 142f00c..f755d45 100644 --- a/toolkit/gocui/click.go +++ b/toolkit/gocui/click.go @@ -23,10 +23,13 @@ func (w *cuiWidget) doWidgetClick() { case toolkit.Tab: w.redoBox(true) w.toggleTree() + case toolkit.Group: + w.redoBox(true) + w.toggleTree() case toolkit.Grid: - w.setParentLogical() + // w.setParentLogical() w.gridBounds() - w.setParentLogical() + // w.setParentLogical() for _, child := range w.children { child.showWidgetPlacement(logNow, "gridBounds:") if (child.v == nil) { |
