label:fixed vertical alignment is incorrect.

This commit is contained in:
Dhilan007 2014-03-07 18:31:33 +08:00
parent bf8506d687
commit 4905acfa0b
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ bool LabelTextFormatter::createStringSprites(Label *theLabel)
nextFontPositionY = (labelHeightPixel + totalHeight) / 2.0f; nextFontPositionY = (labelHeightPixel + totalHeight) / 2.0f;
break; break;
case TextVAlignment::BOTTOM: case TextVAlignment::BOTTOM:
nextFontPositionY = labelHeightPixel; nextFontPositionY = totalHeight;
break; break;
default: default:
break; break;