Elements

DialogContent

A specialized container element designed for dialog content. Extends VerticalGroup with dialog-specific styling.

Constructor

new DialogContent(
    new Label("Dialog Title"),
    new Label("Dialog message content"),
    new Button(new Label("OK"))
);

Properties

DialogContent inherits all properties from VerticalGroup, Group, and BaseElement.

Methods

DialogContent inherits all methods from VerticalGroup, Group, and BaseElement, including:

  • Layout methods (Flex, JustifyContent, AlignItems, Reverse)
  • Child management (BindChildren)
  • Styling and theming with elements-dialog-content CSS class applied automatically