Skip to main content

grid

Function grid 

Source
pub fn grid(sizes: &[Rect], area: Rect, settings: Settings) -> Vec<Rect>
Expand description

A grid of thumbnails, as close to square as the count allows.

sizes are the windows’ own rectangles, so each keeps its aspect ratio inside its cell — the arrangement overview uses.