diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-03-24 20:21:32 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-04-04 17:51:48 -0300 |
commit | 61cbb1f6bbff4250e0c7df04277dbe36339cd48e (patch) | |
tree | 254e8f38c3d47ae2a1fd6ecd26950f94f9257872 /doc | |
parent | 6d2722613476f36c584b69b5b4e9dd88e4be1cec (diff) |
Add option to enable autowrapping for label inside 'AcceptDialog'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/AcceptDialog.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/AcceptDialog.xml b/doc/classes/AcceptDialog.xml index 71b161ccb1..c163091168 100644 --- a/doc/classes/AcceptDialog.xml +++ b/doc/classes/AcceptDialog.xml @@ -59,12 +59,15 @@ </method> </methods> <members> + <member name="dialog_autowrap" type="bool" setter="set_autowrap" getter="has_autowrap"> + Sets autowrapping for the text in the dialog. + </member> <member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok"> If [code]true[/code], the dialog is hidden when the OK button is pressed. You can set it to [code]false[/code] if you want to do e.g. input validation when receiving the [signal confirmed] signal, and handle hiding the dialog in your own logic. Default value: [code]true[/code]. Note: Some nodes derived from this class can have a different default value, and potentially their own built-in logic overriding this setting. For example [FileDialog] defaults to [code]false[/code], and has its own input validation code that is called when you press OK, which eventually hides the dialog if the input is valid. As such this property can't be used in [FileDialog] to disable hiding the dialog when pressing OK. </member> <member name="dialog_text" type="String" setter="set_text" getter="get_text"> - The text displayed by this dialog. + The text displayed by the dialog. </member> </members> <signals> |