News for hackers. Stuff that matters.
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.
Re:SwiftUI for Mac 2024 by meindnoch on Thursday August 22, 2024 @11:07AM (#41321151)
Wrong. The middle item will be misaligned from the center if "left" and "right" have different widths: https://jsfiddle.net/hxe8pcuf/