Add optional constructor arguments to more Control nodes
This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
This commit is contained in:
parent
d0c3094da8
commit
a06f82ca4d
17 changed files with 31 additions and 17 deletions
|
|
@ -940,7 +940,7 @@ public:
|
|||
void set_draw_spaces(bool p_enabled);
|
||||
bool is_drawing_spaces() const;
|
||||
|
||||
TextEdit();
|
||||
TextEdit(const String &p_placeholder = String());
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(TextEdit::CaretType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue