Function zng_wgt_text::paragraph_spacing

source ยท
pub fn paragraph_spacing(
    child: impl UiNode,
    extra: impl IntoVar<ParagraphSpacing>,
) -> impl UiNode
Expand description

P Extra spacing in-between paragraphs.

The default value is 1.em(). Note that the Text! widget does not implement this property, as raw text does not encode paragraph breaks, this property and context var exists to configure rich-text widgets, like the Markdown! widget.

Sets the PARAGRAPH_SPACING_VAR.