Fixes the issue #62
This fixes the edge case where the child's width is WRAP_CONTENT and some of the contents along the main axis would be truncated if parent's padding is added (if this is the case, remeasure the child with accumulated width taken into account to avoid some of the contents to be truncated). Because accumulated width is not taken into account in the first measurement of each child (because FlexboxLayout has the concept of wrapping, at the first measurement of each child, we want the child to be big as it wants even if there is not enough left over space) Change-Id: I949fe6b549b5f7c10255ad5fcf6d05fb9a58eeec
Showing
想要评论请 注册 或 登录