pub fn label() -> LabelExpand description
Draw text with label. Its a simplified version of crate::elements::paragraph.
See the available methods in Label.
fn app() -> impl IntoElement {
label().text("Hello, world!").font_size(16.0)
}pub fn label() -> LabelDraw text with label. Its a simplified version of crate::elements::paragraph.
See the available methods in Label.
fn app() -> impl IntoElement {
label().text("Hello, world!").font_size(16.0)
}