Update code for objects
This commit is contained in:
@@ -26,7 +26,6 @@ func NewMenuItem (text string) *MenuItem {
|
||||
icon: NewIcon("", tomo.IconSizeSmall),
|
||||
}
|
||||
box.SetRole(tomo.R("objects", "MenuItem", ""))
|
||||
tomo.Apply(box)
|
||||
box.label.SetAlign(tomo.AlignStart, tomo.AlignMiddle)
|
||||
box.SetLayout(layouts.NewGrid([]bool { false, true }, []bool { true }))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user