From 95e2aec95adc4b702baceb5f288e1d9c939452b0 Mon Sep 17 00:00:00 2001 From: Deve Date: Wed, 19 Dec 2018 00:05:40 +0100 Subject: [PATCH] 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. --- src/guiengine/widgets/CGUISTKListBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/widgets/CGUISTKListBox.cpp b/src/guiengine/widgets/CGUISTKListBox.cpp index 15f7f4ede..85c66f87f 100644 --- a/src/guiengine/widgets/CGUISTKListBox.cpp +++ b/src/guiengine/widgets/CGUISTKListBox.cpp @@ -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 {