How to show the Title Bar if it is not selected the option "Show Title Bar" in Attributes?
I can show/hide:
view.window?.titleVisibility = .visible
view.window?.titlebarAppearsTransparent = false
But this does not work if "Show Title Bar" is not selected. How to show the title bar in that case?
Regular window with Title bar and rounded corners:
When I remove the Title bar, the rounded corners disappear:
Is it possible to have no Title bar (remove or hidden) and the window with rounded corners?
(Be aware that I can make the Title bar transparent but still occupies a space: How to remove title bar and have rounded corners)