-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Early development] Introduce VGridBlock #70
Conversation
let view = ExampleView(width: 100, height: nil) { view in | ||
view.mondrian.buildSubviews { | ||
VGridBlock( | ||
columns: [ | ||
.init(.flexible(), spacing: 16), | ||
.init(.flexible(), spacing: 16), | ||
], | ||
spacing: 4 | ||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usage
@muukii This looks good! By the name |
It's a bit confusing that both columns and rows use the word |
@JohnEstropia yes, I thought too, it's a bit confusing. I just aligned with SwiftUI's |
Yes, I got knowledge of laying out grids. I could create HGridLayout when we need it. |
TextureSwiftSupport has the same layout |
Next, optimizations