Is it possible to have rectangular tabs on Chrome?
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;
Related videos on Youtube
a--m
I was born in the north of Portugal and lived my childhood in a small seaside city. The sea is my second home. On the 80’s I’ve copied 8-bit games on a Sinclair. Started the new millennium mixing live video and doing generative art with processing. I’ve then study arts and end up graduating on communication design while my passion for coding was arising. Now I live in Barcelona with my beloved wife and daughter. Here I write computer programs professionally and build mechanical keyboards for fun. I do consider myself a maker: What hackers and painters have in common is that they’re both makers. Along with composers, architects, and writers, what hackers and painters are trying to do is make good things. — Paul Graham
Updated on September 18, 2022Comments
-
a--m over 1 year
I'm on OSX 10.7, can I have rectangular tabs on Google Chrome?
-
HikeMike almost 12 yearsWhat's a square tab?
-
Oliver Salzburg almost 12 years@DanielBeck: I must assume rectangular is requested here (instead of the default, trapezoid shape).
-
a--m almost 12 yearsThank you for the comments, I've edited the question. Oliver Salzburg understood well my zenglish ;)
-
-
datatoo almost 12 years+1 I am amazed someone happens to just know this
-
HikeMike almost 12 years@slhck Shhhh. Don't spill my secrets!
-
a--m almost 12 yearsThank you Daniel Beck, I'll try to compile chrome and see if I can tweak those corners ;)
-
HikeMike over 11 years@dome Any progress?