ui::TextLayoutParagraph¶
Header: winui/render/TextLayout.hpp.
Runs that flow together, with a margin around the block. Paragraphs are joined by one \n in TextLayout::text().
| Field | Type | Default | |
|---|---|---|---|
runs |
std::vector<TextLayoutRun> |
The runs, in reading order. An empty list still takes one line of TextLayoutOptions::base_style height. | |
margin |
Thickness |
Space around the paragraph in DIPs; vertical margins are not collapsed between paragraphs. |