---
name: "BIS_fnc_ctrlTextHeight"
type: function
status: ok
groups: ["GUI"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_ctrlTextHeight
revid: 349287
updated: 2023-11-08T14:51:15Z
---

# BIS_fnc_ctrlTextHeight

*Function · GUI · Arma 3 v1.00*

## Description

Resize control according to it is text.

## Syntax

```sqf
[control] call BIS_fnc_ctrlTextHeight
```

**Parameters:**

- `control`: [Control](../topics/Control.md) - the control which should changed

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md)

## Examples

### Example 1

```sqf
[_ctrl] call BIS_fnc_ctrlTextHeight;
```

## See also

[ctrlCommitted](../commands/ctrlCommitted.md) · [ctrlSetPosition](../commands/ctrlSetPosition.md) · [ctrlSetFade](../commands/ctrlSetFade.md)

<sub>Source: [BI Community Wiki — BIS fnc ctrlTextHeight](https://community.bistudio.com/wiki/BIS_fnc_ctrlTextHeight) (revision 349287).</sub>
