Merge pull request #7643 from Robyt3/Menus-Callvote-Margin

Add small margin to callvote label
This commit is contained in:
Dennis Felsing 2023-12-13 17:53:30 +00:00 committed by GitHub
commit a16d8dd6c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();