-
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.
[Tab Strip Redesign] Set new tab button to a fixed position
- Add padding between tab strip end and model selector button = touch_target_size - button_bg_size) / 2. - Add padding between model selector button and new tab button = 8dp. Final result(Folio example, detached right end padding would be 5dp because detached NTB bg size is 2dp larger than that of folio): Width without MSB: tab | 16dp | NTB | 6dp Width with MSB: tab | 16dp | NTB | 8dp | MSB | 6dp incognito off: https://screenshot.googleplex.com/5oPeMwnzbohLcW2 incognito on: https://screenshot.googleplex.com/4ViPBVoW2uBnvdZ RTL incognito on: https://screenshot.googleplex.com/BvFKZWFbtRCo3Qi RTL incognito off: https://screenshot.googleplex.com/8ZCpRFqyArpET8k Recording for tab scroll and reorder mode: https://drive.google.com/file/d/1U6gled8A4D5XxE6rpnbP7bukOKcUMhDw/view?usp=sharing&resourcekey=0--h9MnZOEs-DacD-KEt9K5A Bug: 1408257 Change-Id: I93927773f85232c596f43dd1d87f5f0be6669e12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4189702 Commit-Queue: Zhe Li <zheliooo@google.com> Reviewed-by: Sirisha Kavuluru <skavuluru@google.com> Reviewed-by: Neil Coronado <nemco@google.com> Cr-Commit-Position: refs/heads/main@{#1100798}
- Loading branch information
Zhe Li
authored and
Chromium LUCI CQ
committed
Feb 3, 2023
1 parent
2f610ec
commit d8871a4
Showing
4 changed files
with
189 additions
and
52 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
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
Oops, something went wrong.