TomGrobbe / MenuAPI

FiveM C# Menu API. Designed specifically as a replacement of NativeUI for vMenu. Full safezone scaling supported, both left and right aligned menus supported.

Home Page:https://docs.vespura.com/mapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting a menu ("", description) hides HeadTextures

manups4e opened this issue · comments

commented

if i create a menu like

Menu MenuVariable = new Menu("", "this is a description");
MenuVariable.HeaderTexture = new KeyValuePair<string, string>("texture", "texture");

if the title is set to "" (empty) the HeaderTexture is hidden... to show the HeaderTexture i have to use an empty char (space bar key) like " "

commented

Yeah, this is because by default if you have no title, it will only show the subtitle (if present). To allow you to create similar menus to like the GTA:O apartment entrance options menu.

Like you said, just put an empty character like a space, or something like ~s~ to make an empty title and still have the custom header be visible.

commented

Ooook i thought it could have been a bug so I preferred to warn you

commented

All good. :)