How can I add padding around the window buttons in macOS (SwiftUI)?

Viewed 195

Good evening everyone, I am trying to code my first macOS app with SwiftUI in Xcode. Among other things, I pay a lot of attention to an appropriate design. I prefer padding around the window buttons as seen in this picture (example: finder):

Window buttons with paddin

But at the moment, there isn't much padding around the window button as seen in this picture:

Window buttons without padding

Is it possible to change that in SwiftUI? Thanks for every answer!

(Sorry for my English)

1 Answers

You're gonna have to use a toolbar enter image description here

Related