How can I make the three buttons at the bottom be "tighter" and more close to the center? I tried to play around with padding, but it only went "inward" a tiny bit
var body: some View {
VStack {
Text("Memorize!")
.font(.title)
ScrollView {
LazyVGrid(columns: [GridItem(.adaptive(minimum: 75))]) {
ForEach(emojis, id: \.self, content: { emoji in
CardView(content: emoji).aspectRatio(2/3, contentMode: .fit)
})
}
.padding()
}
.foregroundColor(.red)
Spacer()
HStack() {
VStack {
vehicleButton
Text("Vehicles")
.font(.footnote)
.foregroundColor(Color.blue)
}
Spacer()
VStack {
animalButton
Text("Animals")
.font(.footnote)
.foregroundColor(Color.blue)
}
Spacer()
VStack {
faceButton
Text("Faces")
.font(.footnote)
.foregroundColor(Color.blue)
}
}
.font(.largeTitle)
.padding(.horizontal)
}
}