zng::menu::sub

Function start_column

source
pub fn start_column(child: impl UiNode, cell: impl UiNode) -> impl UiNode
Expand description

P Sets the content to the Align::START side of the button menu item.

The cell is an non-interactive background that fills the START_COLUMN_WIDTH_VAR and button height.

This is usually an icon, or a checkmark.

See also start_column_fn for use in styles.