From 85dc55a82cf66827a4e776660a2985e46529e0e2 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Fri, 12 Feb 2021 21:13:49 -0300 Subject: Keep Label's min height when empty --- scene/gui/label.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 453ecc802c..2997a6ebe9 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -357,21 +357,25 @@ void Label::_notification(int p_what) { } Size2 Label::get_minimum_size() const { - Size2 min_style = get_theme_stylebox("normal")->get_minimum_size(); - // don't want to mutable everything if (dirty || lines_dirty) { const_cast