How to resize UIStackView routines in Xcode?

Every time I try to add something to UIStackView on iOS, it automatically changes my subtasks to something too small, so the text is cropped.

How exactly should this stackview be used? All the guides said it was easy, just drag your subspecies inside, but I have to do something wrong.

Before adding to StackView:

Before adding to StackView

After adding to StackView:

After adding to StackView

+7
ios xcode uistackview
source share
1 answer

This is due to the fact that glass itself needs limitations. Add restrictions to your stack, and then stackview will take care of subviews.

enter image description here

In this case, the stack view is horizontally and vertically in the container.

Let me know if there are any problems.

+3
source share

All Articles