Replicate segmented cell style of macOS Big Sur

137 Views Asked by At

I am trying to replicate the style of the Finder. I have a NSSegmentedControl that is hosted in the menu bar, however, the style is a little bit different.

This is how the finder looks like:

Finder

And this is how my NSSegmentedControl looks like:

My App

The width of the items seems to be a little bit bigger. There is also a small gap in between the items.

How can I replicate the Finder style?

1

There are 1 best solutions below

0
inexcitus On BEST ANSWER

It seems like there were two problems:

  • Do not use a fixed width for your cells.
  • Select the Rounded style.