Reply to SwiftUI preview layout: size that fits does not work "sizeThatFits" means "Fit the container to the size of the preview when offered the size of the device that the preview is running on". UI Frameworks SwiftUI Nov ’22