Constant freya_elements::elements::label::text_height

source ·
pub const text_height: AttributeDescription;
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!"
        }
    )
}