Skip to main content

card_size

Function card_size 

pub fn card_size(work: Rect, summary: &Summary) -> Size
Expand description

How big an activity’s card is on work: one token’s width (a hero picture takes its own), never wider than the display, and the height of the rows the summary has, so a card is as tall as what it says and no taller.