diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 8581a9d193b..8f4f3648b86 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -1453,6 +1453,7 @@ void RichTextLabel::clear() { main->lines.clear(); main->lines.resize(1); main->first_invalid_line = 0; + scroll_w = 0; update(); selection.click = NULL; selection.active = false;