8.2 day circles collapse at the width they arrive at #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found composing the real daily page (#24).
Insert Day circles from the menu and all seven draw at one point -
cx: 203,spanning x=200 to 206, 6mm past the right margin. No error, no overflow flag,
nothing in the inspector says so.
Cause: the widget's day slots are
width: grow 1, andintrinsicExtentmeasures a grow child as nothing. A container measured off its children has no
leftover to share, so the slots collapse and the circles inside them draw
anyway.
Fix: an auto parent measures a grow child by its content. The distribution
base stays at nothing, so grow still splits a definite box evenly.