# ControlSize

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-themes-macos/enum-controlsize/

**enum** · [`ferroui-themes-macos`](/docs/0.5.0/api/ferroui-themes-macos/) · v0.5.0

```rust
enum ControlSize
```

macOS 26 control sizes. Values are in device-independent points.
Large and extra-large controls use capsule outlines; the smaller sizes
retain rounded rectangular outlines. Metrics are calibrated theme values.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L45)

## Members

- [`Mini`](#variant-mini)
- [`Small`](#variant-small)
- [`Regular`](#variant-regular)
- [`Large`](#variant-large)
- [`ExtraLarge`](#variant-extralarge)
- [`height`](#function-height)
- [`font_size`](#function-font_size)
- [`corner_radius`](#function-corner_radius)

<a id="variant-mini"></a>

### Mini

```rust
Mini
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L46)

<a id="variant-small"></a>

### Small

```rust
Small
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L47)

<a id="variant-regular"></a>

### Regular

```rust
Regular
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L49)

<a id="variant-large"></a>

### Large

```rust
Large
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L50)

<a id="variant-extralarge"></a>

### ExtraLarge

```rust
ExtraLarge
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L51)

<a id="function-height"></a>

### height

```rust
const fn height(self: Self) -> f64
```

Height of a standard single-line control in points.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L58)

<a id="function-font_size"></a>

### font_size

```rust
const fn font_size(self: Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L62)

<a id="function-corner_radius"></a>

### corner_radius

```rust
const fn corner_radius(self: Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.MacOS/macos_theme.rs#L66)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
