ListItem are sometime used as a single item in isolation, eg to emulate a button or a title (e.g. component_path_button_to or the blue titles in the selection panel). In such instance, it's a bit annoying to have to wrap it a in list_item_scope. Maybe there could be some helper like ListItem::lone(id_source) (with a better name) to auto-wrap it in the scope.
ListItem
are sometime used as a single item in isolation, eg to emulate a button or a title (e.g.component_path_button_to
or the blue titles in the selection panel). In such instance, it's a bit annoying to have to wrap it a inlist_item_scope
. Maybe there could be some helper likeListItem::lone(id_source)
(with a better name) to auto-wrap it in the scope.