summaryrefslogtreecommitdiffstats
path: root/ash/system/ime
diff options
context:
space:
mode:
authornona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 23:08:36 +0000
committernona@chromium.org <nona@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-26 23:08:36 +0000
commit04e8d4e369ab881f952cc7eb7c9830f5b8d500ee (patch)
tree3bf56d8947ca35a196dd754633b9c18551ba3d48 /ash/system/ime
parent6598df9e6f7c1bb34f287d62fc0aa71aa74e4783 (diff)
downloadchromium_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
Diffstat (limited to 'ash/system/ime')
-rw-r--r--ash/system/ime/tray_ime.cc5
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;
}