---
title: contentSpacing
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: current
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/guistyle/contentspacing
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/guistyle/contentspacing.md
last_updated: 2026-10-29
generated_at: 2026-11-03T09:31:26.101Z
locale: en-us
---

# contentSpacing

> Space in pixels between the image and the label when both are present.

## Definition

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

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