[quote='910693022, DTS Engineer, /thread/852370?answerId=910693022#910693022']
ArrangementView {
PrimaryView()
.padding(.trailing, 16) // Creates the gap[/quote]
While this is a helpful workaround, it doesn't quite fit my needs as it only works for horizontal arrangements, and I would need to apply it to both views to keep everything centered. Obviously, this can be solved by using multiple horizontal and vertical paddings with if statements, but it will be a headache.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: