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:
parent
4f7a8d83cc
commit
34d8afaa67
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user