From 1f786a190e2110a6e42bead38d8c132c1c2e7334 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Fri, 20 Feb 2026 14:09:16 +0300 Subject: [PATCH] Editor Help: Make codeblocks full-width --- editor/doc/editor_help.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/doc/editor_help.cpp b/editor/doc/editor_help.cpp index a2ed9d83d0..40a8e1ffa7 100644 --- a/editor/doc/editor_help.cpp +++ b/editor/doc/editor_help.cpp @@ -2739,6 +2739,7 @@ static void _add_text_to_rt(const String &p_bbcode, RichTextLabel *p_rt, const C p_rt->push_font(doc_code_font); p_rt->push_font_size(doc_code_font_size); p_rt->push_table(2); + p_rt->set_table_column_expand(0, true, 1, false); p_rt->push_cell(); p_rt->set_cell_row_background_color(code_bg_color, Color(code_bg_color, 0.99));