# fixedHeight

> If non-0, any GUI elements rendered with this style will have the height specified here.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.IMGUIModule

```csharp
public float fixedHeight { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Prints the value of fixedHeight.

    void OnGUI()
    {
        Debug.Log(GUI.skin.button.fixedHeight);
    }
}
```
