There is a small problem with UIInput for passwords. Normally if the string is longer than the maximum width it will change the pivot to the right and it won't show all the characters on the left (clips the string). However if the input field is set to password it seems to be incorrectly calculating the length based off the hidden characters, not the displayed asterisks.
I thought I saw you mention this issue before and I thought it was merged in at some point. Anyway, here is my code that (roughly) fixes the issue. It would be good if this (or something similar/better) could be added in the next version.
bwlong line 403 in UIInput.cs
if (isPassword)
{
processed = "";
for (int i = 0; i < mText.Length; i++)
{
processed += "*";
}
if (selected)
{
processed += Input.compositionString + caratChar;
}
}
I tested this in a black project with a clean copy of NGUI (2.2.6c).
Cheers