Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(paragraph)

One paragraph, two widths

Both columns query the same styled Text description at different fractions of the host's width. Below 600px they stack vertically. The font remains 18px while line breaks and measured heights change. The layout pass reuses prepared glyph measurements across those allocations.

The custom parent draws outlines around the measured paragraph boxes. Compare the allocations with tree output. See Text, Span, and Custom elements.