Commit 4d78ee32 authored by bartfab@chromium.org's avatar bartfab@chromium.org

Fix size of big, red logout button

This CL fixes the size of the big, red logout button that regressed when
the LabelButton class was switched from Font to FontList.

BUG=343956
TEST=Manual

Review URL: https://codereview.chromium.org/162753007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251836 0039d316-1c4b-4281-b951-d872f2087c98
parent c70916d6
......@@ -82,6 +82,7 @@ class LogoutConfirmationDialogDelegate
LogoutButton::LogoutButton(views::ButtonListener* listener)
: views::LabelButton(listener, base::string16()) {
SetupLabelForTray(label());
SetFontList(label()->font_list());
for (size_t state = 0; state < views::Button::STATE_COUNT; ++state)
SetTextColor(static_cast<views::Button::ButtonState>(state), SK_ColorWHITE);
......
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