diff options
| author | Maxim Sheronov | 2017-09-12 22:09:06 +0300 |
|---|---|---|
| committer | Maxim Sheronov | 2017-09-13 20:57:07 +0300 |
| commit | 0fffa45158bebeb4aaba1df1d271c000fffbe7f7 (patch) | |
| tree | 369918b0d7c9f367a7396c3584ac84ab550bd103 /scene/gui/tab_container.cpp | |
| parent | 69017974beb16dcfa971f9b6f33a4f005be57bef (diff) | |
| download | godot-0fffa45158bebeb4aaba1df1d271c000fffbe7f7.tar.gz godot-0fffa45158bebeb4aaba1df1d271c000fffbe7f7.tar.zst godot-0fffa45158bebeb4aaba1df1d271c000fffbe7f7.zip | |
Diffstat (limited to 'scene/gui/tab_container.cpp')
| -rw-r--r-- | scene/gui/tab_container.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 461ae3444..657e8590d 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -655,6 +655,10 @@ void TabContainer::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::INT, "tab_align", PROPERTY_HINT_ENUM, "Left,Center,Right"), "set_tab_align", "get_tab_align"); ADD_PROPERTY(PropertyInfo(Variant::INT, "current_tab", PROPERTY_HINT_RANGE, "-1,4096,1", PROPERTY_USAGE_EDITOR), "set_current_tab", "get_current_tab"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "tabs_visible"), "set_tabs_visible", "are_tabs_visible"); + + BIND_ENUM_CONSTANT(ALIGN_LEFT); + BIND_ENUM_CONSTANT(ALIGN_CENTER); + BIND_ENUM_CONSTANT(ALIGN_RIGHT); } TabContainer::TabContainer() { |
