diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 9ac3ef0380e..ca3b2b9e876 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -447,7 +447,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int & fh = line_ascent + line_descent; if (end && c[end - 1] == ' ') { - if (align == ALIGN_FILL) { + if (align == ALIGN_FILL && p_mode != PROCESS_CACHE) { int ln = MIN(l.offset_caches.size() - 1, line); if (l.space_caches[ln]) { align_ofs = spaces * l.offset_caches[ln] / l.space_caches[ln];