I am using a UITable to center a combination of UISprite + UILabel within a 180 width region. This means that I cannot use 'clamp' content since it won't change the bounds of the text, making the content centering behavior of UITable not possible.
I do also want the ellipses for when the text hits the limits of the space (which I set using MaxWidth of 144), so I looked at UILabel and saw that at line 1337, there is the following code...
bool fits = NGUIText.WrapText(printedText, out mProcessedText, true, false,
mOverflowEllipsis && mOverflow == Overflow.ClampContent);
which I changed to...
bool fits = NGUIText.WrapText(printedText, out mProcessedText, true, false,
mOverflowEllipsis);
and it appears to be working perfectly (aside from the fact that I cant toggle the ellipses easily in the inspector). Does this seem like a fairly safe change?