summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-07-17 22:47:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-07-17 22:47:00 -0300
commit69a4ea34c4f630c1ca353a135d768872bb54cd41 (patch)
tree1a325ff2dee10612e968cd45d17d9d453b7b8873
parentbbada82f8088e18b663f087484fcbb662dd76a5a (diff)
Change label so they appear vertically alligned on fill
-rw-r--r--scene/gui/label.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp
index fb85930ceb..f02e01d85a 100644
--- a/scene/gui/label.cpp
+++ b/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() {