Explorar el Código

Change label so they appear vertically alligned on fill

Juan Linietsky hace 8 años
padre
commit
69a4ea34c4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      scene/gui/label.cpp

+ 1 - 0
scene/gui/label.cpp

@@ -686,6 +686,7 @@ Label::Label(const String &p_text) {
 	max_lines_visible = -1;
 	set_text(p_text);
 	uppercase = false;
+	set_v_size_flags(SIZE_SHRINK_CENTER);
 }
 
 Label::~Label() {