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

Issue 2072513003: Fix StyledLabel so it doesn't clip the bottom of Hindi text. (Closed)

Created:
4 years, 6 months ago by Evan Stade
Modified:
4 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix StyledLabel so it doesn't clip the bottom of Hindi text. A label can be taller than the calculated line height, so set the height according to the bottom of the lowest label (link) as we iterate through StyledLabel sub-views. Also, somewhat tangentially, reduce the amount of nesting in BubbleSyncPromoView by making it a StyledLabel rather than a view containing a single StyledLabel. BUG=618978 Committed: https://crrev.com/85882eb4e66d924e623be4246894d96d7344fce8 Cr-Commit-Position: refs/heads/master@{#400833}

Patch Set 1 #

Total comments: 2

Patch Set 2 : move GetClassName #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -32 lines) Patch
M chrome/browser/ui/views/sync/bubble_sync_promo_view.h View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/sync/bubble_sync_promo_view.cc View 1 1 chunk +9 lines, -14 lines 0 comments Download
M ui/views/controls/styled_label.cc View 3 chunks +9 lines, -12 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072513003/1
4 years, 6 months ago (2016-06-16 18:03:18 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 18:56:32 UTC) #6
Evan Stade
ping
4 years, 6 months ago (2016-06-20 16:38:32 UTC) #7
sky
If the label ends up being taller than won't labels by layed out on top ...
4 years, 6 months ago (2016-06-20 19:26:06 UTC) #8
Evan Stade
On 2016/06/20 19:26:06, sky wrote: > If the label ends up being taller than won't ...
4 years, 6 months ago (2016-06-20 20:31:24 UTC) #9
sky
Ok, LGTM
4 years, 6 months ago (2016-06-20 21:52:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072513003/20001
4 years, 6 months ago (2016-06-20 21:54:42 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-20 23:38:49 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 23:40:59 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/85882eb4e66d924e623be4246894d96d7344fce8
Cr-Commit-Position: refs/heads/master@{#400833}

Powered by Google App Engine
This is Rietveld 408576698