Constant freya::elements::label::text_height

pub const text_height: (&'static str, Option<&'static str>, bool);
Expand description

Specify the text height behavior.

Accepted values:

  • disable-all (default)
  • all
  • disable-first-ascent
  • disable-least-ascent

ยงExample

fn app() -> Element {
    rsx!(
        label {
            text_height: "disable-all",
            "Hello, World!"
        }
    )
}