Xcode-Style Status Panel in MacOS Toolbar using SwiftUI

Viewed 19

I'm trying to replicate the little status panel as seen in the Xcode toolbar, but using SwiftUI. This one... enter image description here

I've tried by putting a HStack in a ToolbarItem and setting a rounded rectangle as the background. This works, the only issue is that I cannot get the view to resize with the window.

Is there any way to achieve this? Please help!

0 Answers
Related