Attention

You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

PopupPanel

Inherits: Popup < Window < Viewport < Node < Object

Class for displaying popups with a panel background.

Description

Class for displaying popups with a panel background. In some cases it might be simpler to use than Popup, since it provides a configurable background. If you are making windows, better check Window.

If any Control node is added as a child of this PopupPanel, it will be stretched to fit the panel's size (similar to how PanelContainer works).

Theme Properties

StyleBox

panel


Theme Property Descriptions

StyleBox panel

The background panel style of this PopupPanel.