F4 Menu Bug

Hello Facepunch,

I have recently had a Q menu created by the coder named “inside” and he was unable to figure out a bug with the menu which is caused at random intervals in which the text on the tabs gets abbriviated like in the image below:

http://puu.sh/5FoQt.png

It should read like this:

Pistols, SMGS, Assault etc and the same happens to the weapon details. I am looking for a coder who might be able to shed some light on this issue and we are currently using SizeToContents and it is still broken.

Kind regards

Pkminer30

Post your code.

Weapon cat info:

WeaponCat = {}
WeaponCat[1] = {
name = “Pistols”,
pnl = nil
}
WeaponCat[2] = {
name = “SMG”,
pnl = nil
}
WeaponCat[3] = {
name = “Assault”,
pnl = nil
}
WeaponCat[4] = {
name = “Scoped”,
pnl = nil
}
WeaponCat[5] = {
name = “Shotguns”,
pnl = nil
}
WeaponCat[6] = {
name = “Explosives”,
pnl = nil
}
WeaponCat[7] = {
name = “Misc”,
pnl = nil
}

main info: http://pastebin.com/FiqVCTzU

I think this is all the code you will need but robot if you can help me further add my skype: simplyfraghosting and i will make a join.me session so u can read all the files incase these 2 aren’t helpful.

bump

bump

bump