diff options
author | mukai <mukai@chromium.org> | 2015-04-15 17:55:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-16 00:55:51 +0000 |
commit | a4ac116cd050502a86bc5058a4bca5b91d71c996 (patch) | |
tree | 18651dfb354f571a8ee89c57a3fcac2d2c1c89d3 /ash | |
parent | eab9b50db91c1501243a9438a660b965ea1b3299 (diff) | |
download | chromium_src-a4ac116cd050502a86bc5058a4bca5b91d71c996.zip chromium_src-a4ac116cd050502a86bc5058a4bca5b91d71c996.tar.gz chromium_src-a4ac116cd050502a86bc5058a4bca5b91d71c996.tar.bz2 |
Prevent text eliding in ash TimeView.
TimeView should have enough space to show the time, but even if
it doesn't assign enough space, it shouldn't replace a part of
the text by elipsis (...).
BUG=471297
R=stevenjb@chromium.org, oshima@chromium.org
Review URL: https://codereview.chromium.org/1088353002
Cr-Commit-Position: refs/heads/master@{#325362}
Diffstat (limited to 'ash')
-rw-r--r-- | ash/system/date/date_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/system/date/date_view.cc b/ash/system/date/date_view.cc index 92b8558..cdb2a5b 100644 --- a/ash/system/date/date_view.cc +++ b/ash/system/date/date_view.cc @@ -335,6 +335,7 @@ void TimeView::SetupLabels() { void TimeView::SetupLabel(views::Label* label) { label->set_owned_by_client(); SetupLabelForTray(label); + label->SetElideBehavior(gfx::NO_ELIDE); } } // namespace tray |