Skip to main content

Module band

Module band 

Expand description

The band a conversation divides its lines with: a caption centred in a band, ruled out to both sides.

A day’s divider and the “New messages” divider are one family: one band, a list row tall, the label centred with an s3 gap between it and each rule, so the two read as the same mark where a conversation changes from one day to the next and where the reader’s unread lines start. They differ in ink alone — the day in dimmed text over a hairline, the place reading starts again in the accent.

Structs§

Ink
The ink of each divider of the family: its label and the rules beside it.

Functions§

height
The height a divider takes: one list row, at every text scale.
paint
Paint label centred in band, its rules running from leading to the words and from them to trailing (the message column’s edges, not the window’s), each stopping an s3 gap short of the label.