1

I have a UILabel and a UIButton that I need to put in a vertical UIStackView. The design of the screen is such that I need to give some background colour to the UILabel and it needs to have some fixed height and the font of the UILabel is small.

Could anybody please help me understand if its possible to keep the height constant while inserting it in the stackview since stackview compresses its height otherwise?

Thanks in advance.

Pranav
  • 701
  • 4
  • 18
Kavita Kanwar
  • 285
  • 3
  • 12

0 Answers0