Browse Source

About: center valign copyright label

Poommetee Ketson 8 years ago
parent
commit
ab948dd3d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -6105,6 +6105,7 @@ EditorNode::EditorNode() {
 		hbc->add_child(logo);
 		hbc->add_child(logo);
 
 
 		Label *about_text = memnew(Label);
 		Label *about_text = memnew(Label);
+		about_text->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
 		about_text->set_text(VERSION_FULL_NAME + String::utf8("\n\u00A9 2007-2017 Juan Linietsky, Ariel Manzur.\n\u00A9 2014-2017 ") +
 		about_text->set_text(VERSION_FULL_NAME + String::utf8("\n\u00A9 2007-2017 Juan Linietsky, Ariel Manzur.\n\u00A9 2014-2017 ") +
 							 TTR("Godot Engine contributors") + "\n");
 							 TTR("Godot Engine contributors") + "\n");
 		hbc->add_child(about_text);
 		hbc->add_child(about_text);