Add NO_ELLIPSIS because TEXT_ALIGN_CENTER doesn't work without it

BUG=chromium-os:16286
TEST=manual

Review URL: http://codereview.chromium.org/6995073

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88509 0039d316-1c4b-4281-b951-d872f2087c98
parent 35dcd472
...@@ -119,7 +119,7 @@ void OobeProgressBar::OnPaint(gfx::Canvas* canvas) { ...@@ -119,7 +119,7 @@ void OobeProgressBar::OnPaint(gfx::Canvas* canvas) {
(next_x - x - 2 * kTextPadding), (next_x - x - 2 * kTextPadding),
(bounds.height() - dot->height() - 2 * kTextPadding), (bounds.height() - dot->height() - 2 * kTextPadding),
gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_CENTER | gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_CENTER |
gfx::Canvas::TEXT_VALIGN_TOP); gfx::Canvas::TEXT_VALIGN_TOP | gfx::Canvas::NO_ELLIPSIS);
x = next_x; x = next_x;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment