I have a UIButton built into Interface Builder that has a default label. In Xcode, I change the label text like this:
myButton.titleLabel.text = @"this is the new label";
However, when the text is updated, the new line is cut to the same size as the original line, and looks like this:
this...label
Does anyone know why this is happening?
iphone cocoa-touch uibutton
thenameisnick Jan 01 '10 at 23:39 2011-01-01 23:39
source share