You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for working on such a great framework. It's hard to find a layout framework that doesn't use auto layout these days.
I was testing your frameworks and came across one issues. The framework calculates incorrect intrinsic size for a view that uses edge pins such as (.top, .bottom, .start, .end).
For instance, I wanted to make the following layout:
The red line represents the bounding box of the view controller. The black line represents the bounding box of the view with the content. The demonstration purposes I used two black boxes as content.
Hi @constantine-fry, sorry that you have encountered an issue. If you have the time, you are welcome to submit a Pull request that fixes this possible issue, it would be a pleasure to review it. Thanks
hi Luc,
Thanks for working on such a great framework. It's hard to find a layout framework that doesn't use auto layout these days.
I was testing your frameworks and came across one issues. The framework calculates incorrect intrinsic size for a view that uses edge pins such as (.top, .bottom, .start, .end).
For instance, I wanted to make the following layout:
The red line represents the bounding box of the view controller. The black line represents the bounding box of the view with the content. The demonstration purposes I used two black boxes as content.
I wrote the following code:
The framework made the following layout:
Note two issues:
I assume it happens because PEdgeInsets is created without _top, _bottom, _left and _right values.
https://github.com/layoutBox/PinLayout/blob/master/Sources/Impl/PinLayout%2BLayouting.swift#L138
Let me know if you need additional input from me.
Thanks,
C.
The text was updated successfully, but these errors were encountered: