summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scene/gui/label.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp
index cbaf1c372e..9242105b47 100644
--- a/scene/gui/label.cpp
+++ b/scene/gui/label.cpp
@@ -303,6 +303,9 @@ void Label::_update_visible() {
break;
}
}
+ if (minsize.height > 0) {
+ minsize.height -= line_spacing;
+ }
}
inline void draw_glyph(const Glyph &p_gl, const RID &p_canvas, const Color &p_font_color, const Vector2 &p_ofs) {