arkui

Text

Words fitted to a width, cut where a reader loses least, and numbers said as words.

Desktop

arkui::fit · arkui::line · arkui::format · arkui::clipboard

One name cut to fit: through the middle for a name, at the end for a heading.One name cut to fit: through the middle for a name, at the end for a heading.
One name cut to fit: through the middle for a name, at the end for a heading.
arkui::format
clock(261.0)4:21
clock(3725.0)1:02:05
spell(3_725_000)1 hr 2 min
plural(1, "place")place
plural(12, "place")places
span(1685, 1750)1685–1750
fit::middle(LONG, 24)A name far t…ddle (2026)

arkui::fit

Cutting text to a width: from the end or through the middle, measured in pixels, and the characters the typeface cannot draw spelt in ones it can.

Rules

rust/arkui/src/fit.rs

arkui::line

One line of text cut, at layout, to the width it is given; gives_way lays it out after the rest of its row.

Rules

rust/arkui/src/line.rs

arkui::format

Words for numbers: a clock, a count spelt out, a plural, a span of time, a day.

Rules

rust/arkui/src/format.rs

arkui::clipboard

Copy, cut and paste in every text box, in a browser too: the window's view handed the browser's clipboard, and a paste put in where the keys are once the browser hands it over.

Rules

rust/arkui/src/clipboard.rs

Mobile

Nothing shared for this on Android yet.

Nothing shared for this on iOS yet.