Function choice_rects
pub fn choice_rects(
band: Rect,
gap: f64,
secondary: f64,
primary: f64,
) -> (Rect, Rect)Expand description
Where a pair of choices sits on band given the widths they ask for:
at the trailing edge at their own width, the answer last, as a dialog’s
do, so the card reads as a sentence that ends in its choices rather than
a pair of slabs. Equal halves only when both cannot fit at their width.
Returns (secondary, primary).