Commit 0f057427 authored by estade@chromium.org's avatar estade@chromium.org

don't show border on hover for guest label in profile chooser view

BUG=374758

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272510 0039d316-1c4b-4281-b951-d872f2087c98
parent 84dcfd93
......@@ -253,8 +253,10 @@ class EditableProfileName : public views::LabelButton,
SetFontList(medium_font_list);
SetHorizontalAlignment(gfx::ALIGN_CENTER);
if (!is_editing_allowed)
if (!is_editing_allowed) {
SetBorder(views::Border::CreateEmptyBorder(2, 0, 2, 0));
return;
}
// Show an "edit" pencil icon when hovering over. In the default state,
// we need to create an empty placeholder of the correct size, so that
......
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