how to make height same for grid cells css code example
Example 1: how to change the height of an image in html
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Example 2: Make a VStack fill the width of the screen in SwiftUI
struct ContentView : View {
var body: some View {
VStack(alignment: .leading) {
Text("Hello World")
.font(.title)
Text("Another")
.font(.body)
Spacer()
}
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .topLeading)
.background(Color.red)
}
}