Update code for objects

This commit is contained in:
2024-06-11 16:40:35 -04:00
parent 5d2a366a62
commit 460733c8f3
15 changed files with 0 additions and 19 deletions

View File

@@ -29,7 +29,6 @@ func NewButton (text string) *Button {
label: NewLabel(text),
}
box.SetRole(tomo.R("objects", "Button", ""))
tomo.Apply(box)
box.label.SetAlign(tomo.AlignMiddle, tomo.AlignMiddle)
box.SetLayout(buttonLayout)
box.SetText(text)