diff options
author | nona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 23:08:36 +0000 |
---|---|---|
committer | nona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-26 23:08:36 +0000 |
commit | 04e8d4e369ab881f952cc7eb7c9830f5b8d500ee (patch) | |
tree | 3bf56d8947ca35a196dd754633b9c18551ba3d48 | |
parent | 6598df9e6f7c1bb34f287d62fc0aa71aa74e4783 (diff) | |
download | chromium_src-04e8d4e369ab881f952cc7eb7c9830f5b8d500ee.zip chromium_src-04e8d4e369ab881f952cc7eb7c9830f5b8d500ee.tar.gz chromium_src-04e8d4e369ab881f952cc7eb7c9830f5b8d500ee.tar.bz2 |
Fix input method changed notification window looking.
Set multi-line explicitly and left align flag into ime tray, otherwise not all text is displayed.
BUG=157535
TEST=Manually done on lumpy
Review URL: https://chromiumcodereview.appspot.com/11266034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164434 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ash/system/ime/tray_ime.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/system/ime/tray_ime.cc b/ash/system/ime/tray_ime.cc index 34682a2..296729d 100644 --- a/ash/system/ime/tray_ime.cc +++ b/ash/system/ime/tray_ime.cc @@ -217,10 +217,13 @@ class IMENotificationView : public TrayNotificationView { // TODO(zork): Use IDS_ASH_STATUS_TRAY_THIRD_PARTY_IME_TURNED_ON_BUBBLE for // third party IMEs - return new views::Label( + views::Label* label = new views::Label( l10n_util::GetStringFUTF16( IDS_ASH_STATUS_TRAY_IME_TURNED_ON_BUBBLE, current.medium_name)); + label->SetMultiLine(true); + label->SetHorizontalAlignment(views::Label::ALIGN_LEFT); + return label; } |