use a value that actually does work
esr: please check on your machine how the imageplacement in the campaigndescription does look now
This commit is contained in:
parent
280456031b
commit
d470c05f5a
1 changed files with 1 additions and 1 deletions
|
@ -877,7 +877,7 @@ void campaign_preview_pane::draw_contents()
|
|||
src_rect.h = minimum<int>(max_height,img->h);
|
||||
dst_rect.x = area.x+(area.w-src_rect.w)/2;
|
||||
dst_rect.y = txt_area.y+((max_height-src_rect.h)*8)/13;
|
||||
if(dst_rect.y - area.y >= 400) {
|
||||
if(dst_rect.y - area.y >= 200) {
|
||||
//for really tall dialogs, just put it under the text
|
||||
dst_rect.y = txt_area.y + font::get_max_height(font::SIZE_SMALL)*5;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue