How to style SwiftUI MacOS TabView?

If you use a TabView in a Preferences scene you get nice looking tabs.

If you use a TabView in the main scene, the tabs are plain.

Is there a way to fix that?

Thanks, Mark

I'm also interested in this - the default view setup is completely non Mac-like and is not what anyone would ever want. I haven't found any great options other than trying to hide the TabView and using other controls to change the selected tab.

Did you figure this out?

Same here, I would love to have a a TabView that looks like the Settings Scene, without going fully custom.

Here is what I did: https://stackoverflow.com/a/78754366/7991036.

Hope this will help you.

How to style SwiftUI MacOS TabView?
 
 
Q