Commit 235ec06b authored by ellyjones's avatar ellyjones Committed by Commit bot

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

Review-Url: https://codereview.chromium.org/2346513006
Cr-Commit-Position: refs/heads/master@{#419465}
parent 09cb6ca8
......@@ -107,9 +107,6 @@ class MenuDelegate : public ui::SimpleMenuModel::Delegate {
// explicilty save the offset between the title and the close button since
// we can just get that value for the close button's frame.
NSRect titleFrame = NSMakeRect(35, 6, 92, 17);
if (!isModeMaterial) {
titleFrame.size.height = 14;
}
// Close button.
NSRect closeButtonFrame = NSMakeRect(129, 6, 16, 16);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment