import Weave.Controls import Weave.Templates as T MenuItem { icon.width: Theme.component.table.fixedIcon.width icon.height: Theme.component.table.fixedIcon.height // Items in a non-visible item are also non visible and don't notify when the value written // to the property changes which interferes with our ability to count the number of valid // menu items while the menu is closed. Using TableLayout.visible instead ensures the layout // is notified but we still need to write to visible too for the benefit of Menu's key // navigation. T.TableLayout.visible: true visible: T.TableLayout.visible }