Update object code to use new containers
This commit is contained in:
2
menu.go
2
menu.go
@@ -62,7 +62,7 @@ func newMenu (parent tomo.Window, bounds image.Rectangle, items ...tomo.Object)
|
||||
})
|
||||
}
|
||||
}
|
||||
menu.rootContainer.SetRole(tomo.R("objects", "Container"))
|
||||
menu.rootContainer.SetRole(tomo.R("objects", "Root"))
|
||||
menu.rootContainer.SetTag("menu", true)
|
||||
|
||||
menu.Window.SetRoot(menu.rootContainer)
|
||||
|
||||
Reference in New Issue
Block a user