summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-29 20:11:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-29 20:11:14 -0300
commitff11401441ccdf00dc0c6772e01a835a130ca83c (patch)
treedb1d4bf38678eb99130a05e1d1dbc6bee1e4439f /tools
parentea6c8d5b8b3a4223b21f8cf2a08af14bb9e81352 (diff)
Allow animation name to be clipped, closes #5246
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/plugins/animation_player_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/animation_player_editor_plugin.cpp b/tools/editor/plugins/animation_player_editor_plugin.cpp
index 10c7bf79a3..203564e612 100644
--- a/tools/editor/plugins/animation_player_editor_plugin.cpp
+++ b/tools/editor/plugins/animation_player_editor_plugin.cpp
@@ -1404,6 +1404,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(EditorNode *p_editor) {
hb->add_child(animation);
animation->set_h_size_flags(SIZE_EXPAND_FILL);
animation->set_tooltip(TTR("Display list of animations in player."));
+ animation->set_clip_text(true);
autoplay = memnew( ToolButton );
hb->add_child(autoplay);