Skip to main content

Module timeline_density

Module timeline_density 

Expand description

How much a time grid (a calendar’s week, a schedule) shows of each item, decided from the width of one day column and the theme’s type, so every app that lays out days in columns follows one rule.

A day column that holds a short title on one line is regular: a half-hour block is one title line, chips lead with their colour marker and the start time. Narrower than TimelineDensity::narrow_below it is narrow: the hour grows so a half-hour block holds two title lines, an all-day chip wraps over two, and chips give their marker’s room to the title (their tint already carries the colour). The text scale grows the hour with the type it holds.

Enums§

TimelineDensity
See the module docs.