Re:SwiftUI for Mac 2024
by megaman821 on Thursday August 22, 2024 @10:29AM
(#41320684)
In this specific example, I am pretty sure margin-right: auto on left and margin-left: auto on right in a flex-box does what you want.
[ Parent
| on HN ]
Wrong. The middle item will be misaligned from the center if "left" and "right" have different widths: https://jsfiddle.net/hxe8pcuf/