'How to resize uilabel inside stackview?

I have uilabel call "sklabel" inside stackview like image below. But sklabel width size is following stavkview size. How to make it's width follow text width?

Should i make something like Stackview -> uiview -> uilabel ?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source