Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Issue 15772002: views::Label displaying the tooltip should not elide. (Closed)

Created:
7 years, 7 months ago by varunjain
Modified:
7 years, 7 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

views::Label displaying the tooltip should not elide. The default eliding behavior on views::Label was changed to ELIDE_AT_END in https://codereview.chromium.org/14654018 which make tooltips display incorrectly in chromeos. BUG=none TEST=manual: trigger a long tooltip (one that cannot fit in one line). For example, hover over the tab of any page with a long title (try the codereview link above). Without this change, the tooltip label appears as a single line elided at the end and has a weird size. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202039

Patch Set 1 #

Patch Set 2 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M ui/views/corewm/tooltip_controller.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
varunjain
7 years, 7 months ago (2013-05-22 20:13:51 UTC) #1
Peter Kasting
How could this have worked before? The old NO_ELIDE behavior actually elided. There was no ...
7 years, 7 months ago (2013-05-22 20:29:32 UTC) #2
Peter Kasting
(Suggestion: screenshot the before and after behavior)
7 years, 7 months ago (2013-05-22 20:30:01 UTC) #3
varunjain
screenshots attached for before ttps://codereview.chromium.**org/14654018<https://codereview.chromium.org/14654018> and after. Notice no elide and two lines tooltip in ...
7 years, 7 months ago (2013-05-22 20:43:38 UTC) #4
Peter Kasting
On 2013/05/22 20:43:38, varunjain wrote: > I tried setting multiline to true. But the sizing ...
7 years, 7 months ago (2013-05-22 21:24:48 UTC) #5
varunjain
On 2013/05/22 21:24:48, Peter Kasting wrote: > On 2013/05/22 20:43:38, varunjain wrote: > > I ...
7 years, 7 months ago (2013-05-23 18:46:51 UTC) #6
sadrul
lgtm
7 years, 7 months ago (2013-05-23 21:54:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/15772002/9001
7 years, 7 months ago (2013-05-23 22:11:52 UTC) #8
Peter Kasting
LGTM
7 years, 7 months ago (2013-05-23 22:12:49 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 09:51:54 UTC) #10
Message was sent while issue was closed.
Change committed as 202039

Powered by Google App Engine
This is Rietveld 408576698