I'm on OSX 10.7, can I have rectangular tabs on Google Chrome?
Answer
If Oliver Salzburg is correct, and you want differently shaped tabs:
It's hardcoded in (NSBezierPath*)bezierPathForRect:(NSRect)rect of chrome/browser/ui/cocoa/tabs/tab_view.mm.
You could try to play around with the constants used there, and compile Chrome/Chromium yourself:
// Constants for inset and control points for tab shape.
const CGFloat kInsetMultiplier = 2.0/3.0;
const CGFloat kControlPoint1Multiplier = 1.0/3.0;
const CGFloat kControlPoint2Multiplier = 3.0/8.0;
No comments:
Post a Comment