mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
A MemoView in a Stack or Row body that shares its height or width counted as one unit sized by its content's measure, so a fill child inside took its measured size: a whole title bar shown through a memoized view in the shell's title slot spanned only brand, menus and captions, the captions sat after Help and no title was painted (the title's gap takes no width of its own since F-24). A direct child of the view's content that is given the shared axis to fill now tells the view (Scoped::fill_view, noted in layout::fill_size). The body counts the view in the first sweep of its measuring run and gives it its share as the room of its place, as it does a child that fills it directly; the axis is kept with the view's measure (lazy::Measured::fills), so replays keep it and an idle frame still replays every call. A row unit in a row that does not share its width keeps sizing its content from its content along x.