↧
Answer by Glenn Posadas for Adjusting frame size of VStack in swiftUI
Welcome to Stackoverflow!I suppose you want your cards with a width equal to the screen size, and want it to be in a scrollView like in the screenshot. If so, read on...You're in the right path. But...
View ArticleAnswer by denis_lor for Adjusting frame size of VStack in swiftUI
That happened because you were using GeometryReader on the wrong view, try with this and check the result:import SwiftUIstruct ContentView: View { var body: some View { GeometryReader { geometry in...
View ArticleAdjusting frame size of VStack in swiftUI
Having trouble adjusting the size of my frame to be the full width of the screen in my vstack in Card struct. What can I do to make the cards full size, so I can adjust based on screen size?struct...
View Article
More Pages to Explore .....