cosmic::widget::text

Function caption

source
pub fn caption<'a>(
    text: impl Into<Cow<'a, str>> + 'a,
) -> Text<'a, Theme, Renderer>
Expand description

Text widget with the Caption typography preset.