1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Tweak text alignment

This commit is contained in:
Tomasz Zieliński 2024-04-28 10:29:22 +02:00
parent f28438902a
commit 4f7a8d83cc

View File

@ -61,7 +61,7 @@ void CreatureCostBox::createItems(TResources res)
//reverse to display gold as first resource
for(auto & currentRes : boost::adaptors::reverse(resources))
{
currentRes.second.first->moveBy(Point(curx, 22));
currentRes.second.first->moveBy(Point(curx + 1, 22));
currentRes.second.second->moveBy(Point(curx, 22));
curx += spacing;
}