diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 00:07:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 00:07:09 -0500 |
| commit | 4b9b381bcf02c212d72f55d4738943941e843250 (patch) | |
| tree | 60932c0fe675d477357318eb3d2de5e2b3a5c09d /toolkit/gocui/place.go | |
| parent | 435b75b6e841ae981f6a98d2a0aaaafaedc2e170 (diff) | |
gocui: more spacing logic
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/place.go')
| -rw-r--r-- | toolkit/gocui/place.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/toolkit/gocui/place.go b/toolkit/gocui/place.go index 2ff791a..50e3b6f 100644 --- a/toolkit/gocui/place.go +++ b/toolkit/gocui/place.go @@ -48,13 +48,13 @@ func (w *cuiWidget) placeBox() { w.showWidgetPlacement(logNow, "boxE()") } +/* func (w *cuiWidget) getGroupWH() { p := w.parent // the parent must be a group widget // update parent gocuiSize - p.realWidth = 0 - p.realHeight = 0 - p.realHeight += me.buttonPadding // pad height for the group label + // p.realWidth = + // p.realHeight += me.DefaultHeight + me.PadH + me.FramePadH for _, child := range p.children { p.realWidth += child.realWidth p.realHeight += child.realHeight @@ -71,6 +71,7 @@ func (w *cuiWidget) getGroupWH() { } return } +*/ func (w *cuiWidget) placeWidgets() { if (w == nil) { |
