≈ the.bay.news

Measure twice, render once: why Align.Width didn't shrink a Spectre.Console panel

DEV Community
Measure twice, render once: why Align.Width didn't shrink a Spectre.Console panel
Spectre.Console lays out widgets in two passes, measure and render. Align respected an explicit Width when rendering but not when measuring, so a Panel around it always stretched to the full console. Notes on my first spectre.console PR, #2101: the layout model, the fix, and two review comments that made it correct.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.