Plumb the idea of unlimited main axis size through FlexLayout.
While such views are still sized based on their preferred size, this allows marking them as "can flex" or "should be visible" in more cases. In turn this allows FlexLayout to realize that e.g. zero min/unlimited max width Views should have their heights included in parent preferred size calculations. Bug: 1012136 Change-Id: Icd13e1d672701c962e88d9ce55a26a34547fa02a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2021463 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/master@{#806901}
Showing
Please register or sign in to comment