Removed space for icon, if there is none.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
bc236c0f99
commit
a0b20697d2
@ -520,9 +520,10 @@ void CGUISTKListBox::draw()
|
||||
hasItemOverrideColor(i, EGUI_LBC_ICON) ? getItemOverrideColor(i, EGUI_LBC_ICON) : getItemDefaultColor(EGUI_LBC_ICON),
|
||||
0 , (i==Selected) ? os::Timer::getTime() : 0, false, true);
|
||||
}
|
||||
textRect.UpperLeftCorner.X += ItemsIconWidth;
|
||||
}
|
||||
|
||||
textRect.UpperLeftCorner.X += ItemsIconWidth+3;
|
||||
textRect.UpperLeftCorner.X += 3;
|
||||
|
||||
if ( i==Selected && hl )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user