diff --git a/Sources/SimpleTopBar/TopBarView.swift b/Sources/SimpleTopBar/TopBarView.swift index ed2c46d..2eb95a8 100644 --- a/Sources/SimpleTopBar/TopBarView.swift +++ b/Sources/SimpleTopBar/TopBarView.swift @@ -245,8 +245,11 @@ private struct MenuBarTile: View { Button { menuBar.press(item) } label: { + // Preserve the symbol's aspect ratio: forcing wide symbols like the + // battery into a square stretches them into a blocky shape. Image(nsImage: item.icon) .resizable() + .scaledToFit() .frame(width: 20, height: 20) .padding(6) .background(