Forum Xamarin Xamarin.iOS

Label.SizeToFit() Deprecated

alaskanroguealaskanrogue USMember ✭✭✭

Is the Label.SizeToFit function deprecated?


Best Answer


  • alaskanroguealaskanrogue USMember ✭✭✭

    Seeing your example and reading about sizeThatFits, I miss interpreted the intention of the function. I thought I would resize the label to the next size needed to wrap the text in the label, i.e. make it wider, not wrap the text to a specific width

Sign In or Register to comment.