<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSegmentedControl/Distribution",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSSegmentDistribution"
  },
  "title" : "NSSegmentedControl.Distribution"
}
-->

# NSSegmentedControl.Distribution

```
enum Distribution
```

## Topics

### Distribution Options

[`case fit`](/documentation/AppKit/NSSegmentedControl/Distribution/fit)

Dynamically sized segments will be sized to fit their contents, any remaining space will be left blank. This style is equivalent to the way segments were distributed on older systems.

[`case fill`](/documentation/AppKit/NSSegmentedControl/Distribution/fill)

Dynamically sized segments will be sized to fill the available space, with extra space being distributed equally among them. Default value.

[`case fillEqually`](/documentation/AppKit/NSSegmentedControl/Distribution/fillEqually)

Dynamically sized segments will be sized to fill the available space, and kept the same size as each other.

[`case fillProportionally`](/documentation/AppKit/NSSegmentedControl/Distribution/fillProportionally)

Dynamically sized segments will be sized to fill the available space, and kept proportional to their fitting size.

### Initializers

[`init?(rawValue: Int)`](/documentation/AppKit/NSSegmentedControl/Distribution/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)