How would I change the text size in a label depending on how many lines the label is? I have a label that I need to display in one line. However if the user types in a lot of text then the label goes to two lines and the second line of text if cut off because I display an image right below the label. So I would like to shrink the text size so that it all fits on the first line. Is there a way to measure the number of lines the label has and if it is more than one then shrink the text size till it fits?