connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 580 forks source link

fixed-width tabs #25

Open luin opened 8 years ago

luin commented 8 years ago

Thank you for the photon! I've spent several hours to implement my own tab styles until I find this awesome library.

Would you like to add a fixed-width tab-item which can be found in many native apps (e.g. Terminal & Xcode):

image image

I can submit a pr for this.

developit commented 8 years ago

Something like this? http://jsfiddle.net/developit/tkx4r52s/

luin commented 8 years ago

Exactly. Just wonder whether it should be a built-in style though it's trivial to implement it.