use fission::prelude::*;
// Inside a Compose view: posture is independent of the translated label.
Text(cx.tr("documents.draft"), font_style: TextFontStyle::Italic)
Choice | Type | Meaning | Notes / default behavior |
|---|---|---|---|
Normal | TextFontStyle | Regular upright text. | Default. |
Italic | TextFontStyle | Italic text. | Use for emphasis or special notation, not for large amounts of body copy. |