summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {