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