Update other objects to use new methods of Label

This commit is contained in:
2024-08-24 19:56:58 -04:00
parent c7caa5bcb6
commit 3aa4b12ffe
6 changed files with 10 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ func NewCalendar (tm time.Time) *Calendar {
calendar.on.valueChange.Broadcast()
})
calendar.monthLabel = NewLabel("")
calendar.monthLabel.SetAttr(tomo.AAlign(tomo.AlignMiddle, tomo.AlignMiddle))
calendar.monthLabel.SetAlign(tomo.AlignMiddle, tomo.AlignMiddle)
calendar.grid = tomo.NewContainerBox()
calendar.grid.SetRole(tomo.R("objects", "CalendarGrid"))