---
title: isVerticallyResizable
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstext/isverticallyresizable
---

# isVerticallyResizable

A Boolean that controls whether the receiver changes its height to fit the height of its text.

## Declaration

```swift
var isVerticallyResizable: Bool { get set }
```

## Discussion

Discussion If flag is true it does; if flag is false it doesn’t.

## See Also

### Constraining size

- [maxSize](appkit/nstext/maxsize.md)
- [minSize](appkit/nstext/minsize.md)
- [isHorizontallyResizable](appkit/nstext/ishorizontallyresizable.md)
- [sizeToFit()](appkit/nstext/sizetofit().md)
