Re:SwiftUI for Mac 2024
by meindnoch on Thursday August 22, 2024 @09:42AM
(#41320184)
Wrong. `flex: 1` will cause the items to have a max-width of 1/3rd the container width. E.g. if the left and right items are small icons, and the middle one is a longer text, then the text will be forced to wrap into multiple lines as soon as it tries to grow beyond 1/3rd of the available space, even though there's tons of wasted space on the left/right.
[ Parent
| on HN ]
There are no comments on this comment yet.