How to solve the issue of a stackview bug inside Interface Builder Xcode?

Viewed 709

I have a really strange bug found in Xcode's Interface Builder.

When I try to add an UILabel and UITextview inside a stackView using the Interface Builder, the stack view will be stretch with a width of infinite. For my UITextView I disabled the scroll and edit functions.

Before:

enter image description here

This is after I combine both elements inside a StackView:

enter image description here

When I use two UILabels and add those inside a StackView it's working correctly.

2 Answers
Related