# RefreshPopup()

> Resize the OverlayPopup to fit the content.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Overlays](/engine/6000.7/script-reference/unityeditor/overlays.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void RefreshPopup()
```
