PopupPanel.xml 921 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PopupPanel" inherits="Popup" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Class for displaying popups with a panel background.
  5. </brief_description>
  6. <description>
  7. 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 [WindowDialog].
  8. 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).
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <constants>
  15. </constants>
  16. <theme_items>
  17. <theme_item name="panel" data_type="style" type="StyleBox">
  18. The background panel style of this [PopupPanel].
  19. </theme_item>
  20. </theme_items>
  21. </class>