mirror of
https://github.com/nsnail/spectre.console.git
synced 2026-05-08 08:03:28 +08:00
91f910326c
Panel could pass a maxWidth to the child Render function that was greater than the maxWidth that was passed to the Panel render function. I noticed this when trying to nest a table in a panel and the word wrapping was being disabled. N.B It might be that Table.Measure ought to not return a measurment larger than maxWidth, but this Panel change seems defensivly sensible regardless.