Monday, 9 April 2018

macos - Is it possible to have rectangular tabs on Chrome?


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

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...