[App] basic menu bar layout UI #2

Merged
javier merged 6 commits from app/menu-bar-ui into main 2024-10-04 22:18:56 +00:00
Showing only changes of commit c23df6d048 - Show all commits

View File

@ -31,10 +31,24 @@ struct PiperApp: App {
var body: some Scene {
MenuBarExtra {
EmptyView()
VStack(alignment: .leading) {
Text("Some text goes here...")
.foregroundStyle(.primary)
Divider()
Button {
// ...
} label: {
Text("Some text goes here...")
.frame(maxWidth: .infinity)
}
}
.padding()
} label: {
Image(systemName: "circle.fill")
}
.menuBarExtraStyle(.window)
}
}