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
Feature request: stack views of different size #21
Comments
Hi @gerchicov-bp! If you could post the code here so I can better understand the problem and help you with the solution :) |
https://i.stack.imgur.com/ABfHe.png The result - views save height proportions independently from size and in the same time they fulfill superview. |
If I understand the problem correctly, this is what you want: Let me know if this fixes your issue. If not please share the code.. |
NO. In all of your examples the inner views have equal width and height. What if I need for example a stack of views of sizes:
where |
@gerchicov-bp Check. You want for example:
|
If you didn't implement it then I advice you not to do that - if you add constraints inside such views their behaviour becomes unpredictable. Maybe this occurs because of numbers which become decimal |
I will try to implement this feature while avoiding unpredictable behaviour and let you know here when I did it. |
I just released TinyConstraints 2.1.0 with the |
In my case I have 3 views placed in vertical order. The problem is it is enough hard to setup them because the are all different but must fill the whole space given to them with predefined height proportion.
The text was updated successfully, but these errors were encountered: