|
|
Created:
4 years, 3 months ago by Elly Fong-Jones Modified:
4 years, 3 months ago CC:
chromium-reviews, miu+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptioncocoa browser: don't make non-MD tab titles smaller
Setting the title frame to be 14px high clips descenders from the text.
If TabController leaves the title frame at its default size, the text
draws properly and is vertically centered in the tab.
BUG=645755
Committed: https://crrev.com/235ec06ba2318c7656bf40efdfa385cf68b2b92d
Cr-Commit-Position: refs/heads/master@{#419465}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 17 (8 generated)
Description was changed from ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 ========== to ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 ==========
ellyjones@chromium.org changed reviewers: + shrike@chromium.org
shrike: ptal? :)
lgtm https://codereview.chromium.org/2346513006/diff/1/chrome/browser/ui/cocoa/tab... File chrome/browser/ui/cocoa/tabs/tab_controller.mm (left): https://codereview.chromium.org/2346513006/diff/1/chrome/browser/ui/cocoa/tab... chrome/browser/ui/cocoa/tabs/tab_controller.mm:111: titleFrame.size.height = 14; Pre-MD this code read NSRect titleFrame = NSMakeRect(35, 6, 92, 14); so this statement was just preserving the original height. I'm not sure why that no longer works.
The CQ bit was checked by ellyjones@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
ellyjones@chromium.org changed reviewers: + avi@chromium.org
avi: ptal? :)
lgtm stampity stamp
The CQ bit was checked by ellyjones@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 ========== to ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 ========== to ========== cocoa browser: don't make non-MD tab titles smaller Setting the title frame to be 14px high clips descenders from the text. If TabController leaves the title frame at its default size, the text draws properly and is vertically centered in the tab. BUG=645755 Committed: https://crrev.com/235ec06ba2318c7656bf40efdfa385cf68b2b92d Cr-Commit-Position: refs/heads/master@{#419465} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/235ec06ba2318c7656bf40efdfa385cf68b2b92d Cr-Commit-Position: refs/heads/master@{#419465} |