rich label: add padding between consecutive float images

This commit is contained in:
Subhraman Sarkar 2025-03-13 22:39:02 +05:30
parent aabe92e0f9
commit 68e4c64e71

View File

@ -289,7 +289,7 @@ std::pair<config, point> rich_label::get_parsed_text(
x = (align == "left") ? float_size.x : 0;
float_size.x = curr_img_size.x + padding_;
float_size.y += curr_img_size.y;
float_size.y += curr_img_size.y + padding_;
wrap_mode = true;
is_float = true;