mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-13 08:40:37 +00:00
rich label: add padding between consecutive float images
This commit is contained in:
parent
aabe92e0f9
commit
68e4c64e71
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user