Browse Source

Allow animation name to be clipped, closes #5246

Juan Linietsky 9 years ago
parent
commit
ff11401441
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/editor/plugins/animation_player_editor_plugin.cpp

+ 1 - 0
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);