Reputation: 31
I tried to add constraints to three labels but I don't want to specify heights of them. Name (Pharmacy), address and number should have one or more lines. Now I added constraints to name, address and numer just like in the attachments but they don't work.
What's wrong with them?
Thank you for your response.
Greetings Alex
Upvotes: 0
Views: 51
Reputation: 14407
Better solution is to use UIStackView
instead of manual Constraints.. StackViews
will make your life easy
For this Scenario you will have 1 vertical Stack
within which you will have 3 horizontal Stack
... Set Stack
fill mode Proportional ...
Upvotes: 1