Updated all objects to new API

This commit is contained in:
2024-05-26 17:21:58 -04:00
parent 06d99b2790
commit 6389556199
15 changed files with 48 additions and 46 deletions

View File

@@ -20,7 +20,7 @@ func NewLabelCheckbox (value bool, text string) *LabelCheckbox {
checkbox: NewCheckbox(value),
label: NewLabel(text),
}
theme.Apply(box, theme.R("objects", "LabelCheckbox", ""))
tomo.Apply(box, tomo.R("objects", "LabelCheckbox", ""))
box.label.SetAlign(tomo.AlignStart, tomo.AlignMiddle)
box.Add(box.checkbox)
box.Add(box.label)