Commit 7e392798 authored by guohui@chromium.org's avatar guohui@chromium.org

Polish signin confirmation bubble

- wrap the title text
- removes the extra single pixel white border at the top.

BUG=401817

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

Cr-Commit-Position: refs/heads/master@{#288471}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288471 0039d316-1c4b-4281-b951-d872f2087c98
parent 4e99fc04
...@@ -498,8 +498,8 @@ ProfileChooserView::ProfileChooserView(views::View* anchor_view, ...@@ -498,8 +498,8 @@ ProfileChooserView::ProfileChooserView(views::View* anchor_view,
tutorial_mode_(profiles::TUTORIAL_MODE_NONE), tutorial_mode_(profiles::TUTORIAL_MODE_NONE),
gaia_service_type_(service_type) { gaia_service_type_(service_type) {
// Reset the default margins inherited from the BubbleDelegateView. // Reset the default margins inherited from the BubbleDelegateView.
// Add a small top/bottom inset so that the bubble's rounded corners show up. // Add a small bottom inset so that the bubble's rounded corners show up.
set_margins(gfx::Insets(1, 0, 1, 0)); set_margins(gfx::Insets(0, 0, 1, 0));
set_background(views::Background::CreateSolidBackground( set_background(views::Background::CreateSolidBackground(
GetNativeTheme()->GetSystemColor( GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_DialogBackground))); ui::NativeTheme::kColorId_DialogBackground)));
...@@ -932,6 +932,7 @@ views::View* ProfileChooserView::CreateTutorialView( ...@@ -932,6 +932,7 @@ views::View* ProfileChooserView::CreateTutorialView(
// Adds title. // Adds title.
views::Label* title_label = new views::Label(title_text); views::Label* title_label = new views::Label(title_text);
title_label->SetMultiLine(true);
title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
title_label->SetAutoColorReadabilityEnabled(false); title_label->SetAutoColorReadabilityEnabled(false);
title_label->SetEnabledColor(SK_ColorWHITE); title_label->SetEnabledColor(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