The dialog the Grid Placement editor actions report into. An AcceptDialog sizes its built-in label to the longest line in the message, and one report line carrying a node path is wider than the screen: the Setup Scene dialog opened across the whole monitor. The detail belongs in a bounded, wrapping, scrollable field instead, so the dialog stays the size of a dialog however long the report gets. var dialog := EditorReportDialog.build("Grid Placement Setup", message) base_control.add_child(dialog) dialog.popup_centered()
Source: addons/grid_placement/tools/editor_report_dialog.gd
Syntax
class EditorReportDialog extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
FIELD_SIZE | Field | Size of the scrolling detail field. The dialog grows to this and no further; anything longer scrolls. |
build | Method |