Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created January 26, 2021 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturdysturge/caa1569757c25aae7a6ce5000315d133 to your computer and use it in GitHub Desktop.
Save sturdysturge/caa1569757c25aae7a6ce5000315d133 to your computer and use it in GitHub Desktop.
struct AquaFinderRightGridView: View {
var body: some View {
ScrollView(.vertical) {
LazyVGrid(columns: [GridItem(.adaptive(minimum: 50, maximum: 100))],
alignment: .center, spacing: 20) {
ForEach(0...20, id: \.self) { _ in
VStack {
Text("📁")
.font(.largeTitle)
Text("Folder")
.foregroundColor(.black)
.font(.caption2)
}
}
}
.padding()
}
.frame(maxHeight: .infinity)
.background(Color.white)
.layoutPriority(2)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment