Fix UILabel.cs
< From >
public string text
{
get
{
return mText;
}
set
{
if (string.IsNullOrEmpty(value))
{
if (!string.IsNullOrEmpty(mText))
mText = "";
hasChanged = true;
}
else if (mText != value)
{
mText = value; <=== Here
hasChanged = true;
}
}
}
< To >
public string text
{
get
{
return mText;
}
set
{
if (string.IsNullOrEmpty(value))
{
if (!string.IsNullOrEmpty(mText))
mText = "";
hasChanged = true;
}
else if (mText != value)
{
mText = value.Replace("\\n", "\n"); <== Here
hasChanged = true;
}
}
}
Origin : http://www.tasharen.com/forum/index.php?topic=4114.msg20026#msg20026