There is 3 pixels margin which is not wanted when icon is centered.

Minor thing, but it matters for very low resolutions with very short column width.
This commit is contained in:
Deve 2018-12-19 00:05:40 +01:00
parent 9a304b8483
commit 95e2aec95a

View File

@ -547,7 +547,7 @@ void CGUISTKListBox::draw()
if (Items[i].m_contents[x].m_center)
{
iconPos.X += part_size/2;
iconPos.X += part_size/2 - 3;
}
else
{