mirror of
https://github.com/vcmi/vcmi.git
synced 2025-10-08 23:22:25 +02:00
@@ -320,7 +320,7 @@ CStackWindow::BonusLineSection::BonusLineSection(CStackWindow * owner, size_t li
|
|||||||
if (!bi.imagePath.empty())
|
if (!bi.imagePath.empty())
|
||||||
icon[leftRight] = std::make_shared<CPicture>(bi.imagePath, position.x, position.y);
|
icon[leftRight] = std::make_shared<CPicture>(bi.imagePath, position.x, position.y);
|
||||||
|
|
||||||
description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y + 2, 137, 50), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
|
description[leftRight] = std::make_shared<CMultiLineLabel>(Rect(position.x + 60, position.y, 137, 50), FONT_TINY, ETextAlignment::TOPLEFT, Colors::WHITE, bi.description);
|
||||||
drawBonusSource(leftRight, Point(position.x - 1, position.y - 1), bi);
|
drawBonusSource(leftRight, Point(position.x - 1, position.y - 1), bi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user