Open nhat opened 6 years ago
đź‘Ť please I believe this is vital feature, this would also help with #506 - distinguishing whether Marta window is active or not.
I would be glad to support the native title bar. However, I don't know where to place a progress bar for background operations then.
@yanex There are few ways I can imagine:
[[window standardWindowButton:NSWindowCloseButton] superview]
, many old apps used that to add some "Register me!" button.NSTitlebarAccessoryViewController
and NSWindow addTitlebarAccessoryViewController
available since 10.10 as explicit way to add stuff to title bar.NSWindow.titleVisibility = false
explained here in docs and in these WWDC 2016 slides. I think this would be my favorite one. It could also allow customizing and putting more stuff into the toolbar such as list mode, on off terminal, etc.Wow, thanks for the suggestions! TBH, I didn’t investigate this properly before. I can’t guarantee this will be supported in the next version, but I will definitely look into this in the meantime.
Please add an option to enable the old title bar like in previous screenshot from the documentation.
In general it would help Marta looks more like a native macOS app and make it easier to replace Finder.