mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 20:25:06 +00:00
A content-sized inline container shown in a `Stack` body given its width passes that width on to its own body: its children measure and show as in a given column, so a child that fills (a fill-width row, a list, a divider, a picture, a side-labelled control) takes the width, and the container takes what its content took. A content-sized mount (dialog, popover, menu), a row, a grid or a held container stops it, so their bodies stay content columns and measure as before. The env carries the fact as `given_column`, set by a `Stack` body that is not a content column and listed in the measure key's env facts. No pass, record or measuring run is added. Panel roots that set `fill_width()` only to span their pane now take the default: CharacterControls, ParagraphControls, TimecodePanel, ReorderableSections and BlendIfBar each hold a fill child, and where they sit in a content column (BlendIfBar in the Layer Style page) the column around them hugs them either way. The fill_column trial shows the given column, nesting, a row stopping it, the hug kept in a popover, and the measuring-run count against a fill-width column.