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

Even better alignment

This commit is contained in:
Tomasz Zieliński 2024-04-28 12:40:55 +02:00
parent 4f7a8d83cc
commit 34d8afaa67

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 + 1, 22));
currentRes.second.first->moveBy(Point(curx + 2, 22));
currentRes.second.second->moveBy(Point(curx, 22));
curx += spacing;
}