diff options
| author | Rémi Verschelde | 2017-12-11 08:02:22 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-11 08:02:22 +0100 |
| commit | 2314f0c28122e947a7e788816456e50f92b5e4fb (patch) | |
| tree | f7dfd0f68d0bca4ecf5fb128b4747fde10aa8992 /scene/gui/button.cpp | |
| parent | 378bb896780acdcf1831c42286a018c5515ed356 (diff) | |
| parent | 1273f106469a878c79d78fff5ef1d957776e4e3b (diff) | |
| download | godot-2314f0c28122e947a7e788816456e50f92b5e4fb.tar.gz godot-2314f0c28122e947a7e788816456e50f92b5e4fb.tar.zst godot-2314f0c28122e947a7e788816456e50f92b5e4fb.zip | |
Diffstat (limited to 'scene/gui/button.cpp')
| -rw-r--r-- | scene/gui/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index 224610d3f..47977f028 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -265,7 +265,7 @@ void Button::_bind_methods() { ADD_PROPERTYNZ(PropertyInfo(Variant::OBJECT, "icon", PROPERTY_HINT_RESOURCE_TYPE, "Texture"), "set_button_icon", "get_button_icon"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "flat"), "set_flat", "is_flat"); ADD_PROPERTYNZ(PropertyInfo(Variant::BOOL, "clip_text"), "set_clip_text", "get_clip_text"); - ADD_PROPERTYNO(PropertyInfo(Variant::INT, "align", PROPERTY_HINT_ENUM, "Left,Center,Right"), "set_text_align", "get_text_align"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "align", PROPERTY_HINT_ENUM, "Left,Center,Right"), "set_text_align", "get_text_align"); } Button::Button(const String &p_text) { |
