-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cormorant] Handle long toolbar titles by adding an ellipses
In order to avoid having long titles change the size of the follow button, I created a Linear Layout to encompass the text and the button, and give the text a weight of 1 (100%) and width of 0dp. Screenshot of broken UI: https://screenshot.googleplex.com/5t7xgovwdhgrmdM Screenshot of new fixed UI: https://screenshot.googleplex.com/3YWUFDsCp6q98qe (cherry picked from commit 30263a7) Bug: 1408853 Change-Id: I6eb335048ee00680c8eb147a42f4c28a04f6c468 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4198240 Reviewed-by: Cathy Li <chili@chromium.org> Commit-Queue: Wissem Gamra <wiss@chromium.org> Reviewed-by: Jeffrey Cohen <jeffreycohen@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1097697} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4213319 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Wissem Gamra <wiss@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5563@{#88} Cr-Branched-From: 3ac59a6-refs/heads/main@{#1097615}
- Loading branch information
Wissem Gamra
authored and
Chromium LUCI CQ
committed
Feb 1, 2023
1 parent
7dbce99
commit 585569e
Showing
2 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters