Fix right alignment in RichTextLabel
This commit is contained in:
parent
c9208704de
commit
820f7c9d15
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||
if (align != ALIGN_FILL) \
|
||||
wofs += line_ofs; \
|
||||
} else { \
|
||||
int used = wofs - margin; \
|
||||
float used = wofs - margin; \
|
||||
switch (align) { \
|
||||
case ALIGN_LEFT: \
|
||||
l.offset_caches.push_back(0); \
|
||||
|
|
Loading…
Reference in a new issue