Skip to main content

labeled

Function labeled 

Source
pub fn labeled<M, P: Piece>(text: impl IntoText<M>, control: P) -> AnyPiece
Expand description

A form row: label sits in the form-wide aligned label column (right-aligned, vertically centered), control beside it. Outside a form the label column is just this row’s own label width. A control with .grow() stretches to the row’s remaining width.

Day API ↩ Guides· daybrite.dev