Given this code :
import SwiftUI struct ContentView : View { var body: some View { VStack(alignment: .leading) { Text(\"Title\")
This is what worked for me (ScrollView (optional) so more content can be added if needed, plus centered content):
ScrollView
import SwiftUI struct SomeView: View { var body: some View { GeometryReader { geometry in ScrollView(Axis.Set.horizontal) { HStack(alignment: .center) { ForEach(0..<8) { _ in Text("