Skip to content

Commit

Permalink
Merge pull request #58887 from cesarizu/bbcode_align_left
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Mar 8, 2022
2 parents 8ca4bd2 + 42f1697 commit 7613985
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scene/gui/rich_text_label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3250,6 +3250,10 @@ void RichTextLabel::append_text(const String &p_bbcode) {
push_paragraph(HORIZONTAL_ALIGNMENT_FILL);
pos = brk_end + 1;
tag_stack.push_front(tag);
} else if (tag == "left") {
push_paragraph(HORIZONTAL_ALIGNMENT_LEFT);
pos = brk_end + 1;
tag_stack.push_front(tag);
} else if (tag == "right") {
push_paragraph(HORIZONTAL_ALIGNMENT_RIGHT);
pos = brk_end + 1;
Expand Down

0 comments on commit 7613985

Please sign in to comment.