Hi there
I have a set of buttons with UILabels inside them as children. These UILabels were set to ShrinkContent so that the text is always there when the buttons resized.
However, some buttons' texts are longer than others - e.g. "Attachments", "Notes". "Attachments" will get shrunk first because it is longer. I would like the "Notes" text to be shown at the same font size as the Attachments one so that the font size is always the same for all those buttons.
So what I did is I wrote a script to set the "Notes" font size to be the same as "Attachments" font size - but this does not work because "Attachments" is shrunk and the actual shown size does not match the font size.
How can I get access to the font size that is actually displayed when a UILabel is shrunk?
Thanks