I’ve a Kind being loaded inside a Navigation Stack and am exhibiting a picture and title within the first kind part with the code under:
Kind {
Part {
VStack {
Picture("AboutIcon")
.resizable()
.body(width: 96, peak: 96)
.clipShape(RoundedRectangle(cornerRadius: 16))
Textual content("LinkSwing")
.font(.headline)
}
.body(maxWidth: .infinity)
}
.listRowBackground(Coloration(.systemGroupedBackground))
}
When rendered, there may be vital high and backside padding surrounding the Part, highlighted in purple within the picture under.
I’ve tried numerous choices to set padding, edge insets, and so on., however haven’t discovered the proper choice or mixture to remove the pointless high and backside padding.
Any recommendations and/or ideas for the way I can diagnose comparable structure issues sooner or later are a lot appreciated – thanks!