I have a horizontal stackview with button and label
Case 1: Button text is dynamic and size of it should fit to text. So I added hugging and compression to required. This works perfectly
Case 2: But when my label is hidden, Button takes entire space of stackview. How can i avoid that?
I need my button width fixed to fit the title. Please refer below screen how it looks
ALL Constraints are added in storyboard. I don't want to do it programatically
Please advice