Add small margin to callvote label

This commit is contained in:
Robert Müller 2023-12-13 17:47:10 +01:00
parent b458890f08
commit 68508e1b81

View file

@ -554,7 +554,9 @@ bool CMenus::RenderServerControlServer(CUIRect MainView)
if(!Item.m_Visible)
continue;
UI()->DoLabel(&Item.m_Rect, pOption->m_aDescription, 13.0f, TEXTALIGN_ML);
CUIRect Label;
Item.m_Rect.VMargin(2.0f, &Label);
UI()->DoLabel(&Label, pOption->m_aDescription, 13.0f, TEXTALIGN_ML);
}
s_CurVoteOption = s_ListBox.DoEnd();