You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Customizing Electron’s window title look on OS X #2734
According to the post this only works in Yosemite and above. So if you have users that are using earlier versions, you'll need to provide a fallback. If that's the case I would go with something like the titlebar module.
The post is just a patch and proof of concept, if it will be included in Electron then it will behave normally (without hiding the title bar) on older systems without using the titlebar module. If anyone would like to support older systems I guess titlebar would be needed or a combination, but it shouldn't be part of the core.
👍 This would make it a lot easier to build more custom UI's with Electron. Currently, I'm using CSS to emulate the traffic lights, but it's super hacky and I'll be stuck having to upgrade them every time the OS X UI changes.
Activity
herrmannplatz commentedon Sep 8, 2015
would be awesome
hakonbo commentedon Sep 8, 2015
👍
raphaelrobert commentedon Sep 8, 2015
+1
topless commentedon Sep 8, 2015
+1
markesaaremets commentedon Sep 8, 2015
+1
georgekis commentedon Sep 8, 2015
+1
helenakos commentedon Sep 8, 2015
+1 ⬆️
teller commentedon Sep 8, 2015
+1
winterDroid commentedon Sep 8, 2015
👍
olivereitalu commentedon Sep 8, 2015
👍
AndroidBob commentedon Sep 8, 2015
👍 x 💯
gregor commentedon Sep 8, 2015
👍
flipace commentedon Sep 8, 2015
👍
meyskens commentedon Sep 8, 2015
+99
cristobalcastilla commentedon Sep 8, 2015
+1
3 remaining items
priiduzilmer commentedon Sep 8, 2015
+1
jenskasemets commentedon Sep 8, 2015
+1 and some more
etiktin commentedon Sep 8, 2015
According to the post this only works in Yosemite and above. So if you have users that are using earlier versions, you'll need to provide a fallback. If that's the case I would go with something like the titlebar module.
lipis commentedon Sep 9, 2015
The post is just a patch and proof of concept, if it will be included in Electron then it will behave normally (without hiding the title bar) on older systems without using the
titlebarmodule. If anyone would like to support older systems I guess titlebar would be needed or a combination, but it shouldn't be part of the core.zcbenz commentedon Sep 10, 2015
That patch is awesome! I think we can provide an option for Yosemite and above.
lipis commentedon Sep 10, 2015
@jaanus Now it's your move 💃 👯 ✌️
sindresorhus commentedon Sep 11, 2015
👍 This would make it a lot easier to build more custom UI's with Electron. Currently, I'm using CSS to emulate the traffic lights, but it's super hacky and I'll be stuck having to upgrade them every time the OS X UI changes.
lipis commentedon Sep 14, 2015
Woho!!
herrmannplatz commentedon Sep 14, 2015
awesome!
Merge pull request #2776 from jaanus/osx-window-titlebar
zcbenz commentedon Sep 14, 2015
Closed by #2776.
sindresorhus commentedon Sep 16, 2015
I just published an app that uses the new API. Looks really good. Thank you @jaanus! :)