mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-05 13:04:54 +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
|
//reverse to display gold as first resource
|
||||||
for(auto & currentRes : boost::adaptors::reverse(resources))
|
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));
|
currentRes.second.second->moveBy(Point(curx, 22));
|
||||||
curx += spacing;
|
curx += spacing;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user