I’m experiencing a similar problem. Including a ProgressView in the widget causes some artifacts. This can be fixed by applying a frame with a fixed height:
ProgressView(value: context.state.progress)
.frame(height: 8) // Fixed height for consistent layout
.padding(.bottom, 8)
However, the layout falls apart when an Image is added. The Image alone is not an issue, but I can’t include both without disrupting the layout.
Topic:
Programming Languages
SubTopic:
Swift
Tags: