8.2 day circles collapse at the width they arrive at #36

Closed
opened 2026-08-18 17:24:49 +01:00 by Bolt · 0 comments
Collaborator

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, and intrinsicExtent
measures 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.

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`, and `intrinsicExtent` measures 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.
TJC closed this issue 2026-08-18 19:56:28 +01:00
Sign in to join this conversation.
No labels
chore
core
render
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TJC/daily-planner-template#36
No description provided.