Update object code to use new containers

This commit is contained in:
2024-09-12 14:54:26 -04:00
parent f1f71208f2
commit 51ce2a84f2
4 changed files with 15 additions and 20 deletions

View File

@@ -60,7 +60,7 @@ func NewCalendar (tm time.Time) *Calendar {
calendar.grid.SetRole(tomo.R("objects", "CalendarGrid"))
calendar.grid.SetAttr(tomo.ALayout(layouts.NewGrid (
true, true, true, true, true, true, true)()))
calendar.box.Add(NewInnerContainer (
calendar.box.Add(NewContainer (
layouts.Row { false, true, false },
prevButton, calendar.monthLabel, nextButton))
calendar.box.Add(calendar.grid)