FluidGroup / MondrianLayout

🏗 A way to build AutoLayout rapidly than using InterfaceBuilder(XIB, Storyboard) in iOS.
https://medium.com/geekculture/describing-autolayout-with-imaginable-how-it-lays-out-programmatically-mondrianlayout-71efe82f3149
MIT License
168 stars 11 forks source link

Feature Request: Support width/height and their min/max variants for V/H/Z stack blocks themselves #49

Closed JohnEstropia closed 3 years ago

JohnEstropia commented 3 years ago

Sample use cases:

HStackBlock(alignment: .center) {
    buttonIconView
    buttonTitleLabel
    disclosureIndicatorView
}
.minHeight(44)
ZStackBlock {
    resizableProfileImageView
    glossyOverlayView
}
.padding(3)
.size(60)
.background(resizablePhotoFrameView)
muukii commented 3 years ago

This is what I wanted too! give me a time to consider if that can be implemented.

muukii commented 3 years ago

working on https://github.com/muukii/MondrianLayout/pull/52