Introduce new layouts.Grid construct

This commit is contained in:
2024-06-22 18:44:26 -04:00
parent ae1e62c1f2
commit e8a3a376ea
7 changed files with 17 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ func NewDialog (kind DialogKind, parent tomo.Window, title, message string, opti
dialog.controlRow.SetAlign(tomo.AlignEnd, tomo.AlignEnd)
dialog.SetRoot(NewOuterContainer (
layouts.NewGrid([]bool { true }, []bool { true, false }),
layouts.Column { true, false },
NewInnerContainer(layouts.ContractHorizontal, icon, messageText),
dialog.controlRow))
return dialog, nil