Browse Source

Tweak text alignment

Tomasz Zieliński 1 năm trước cách đây
mục cha
commit
4f7a8d83cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      client/widgets/CreatureCostBox.cpp

+ 1 - 1
client/widgets/CreatureCostBox.cpp

@@ -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;
 		}