Merge pull request #116532 from dalexeev/editor-help-make-codeblocks-full-width
Editor Help: Make codeblocks full-width
This commit is contained in:
commit
c73b13cd8b
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue