Wider Column using TTTScoreboardColumns

So basically I have a TTT server where I’d like to have a “Rank” column with colors and everything.
Using the hook works fine for text and color, but the width of the column doesn’t seem to wanna work properly.

The blue text goes out of the column. And I’ve tried different things like “label:SetWidth( 120 )” as well as adding “:SetWidth( 120 )” after the AddColumn function (I’ve tried with various different sizes).



local Custom = {
	["STEAM_ID_HERE"] = {color = Color(240, 141, 55), text = "Renny"}, -- Renrag
}


function CustomRanks( pnl )
	pnl:AddColumn( "Rank", function( ply, label )
		local custom = Custom[ply:SteamID()]
		if custom then
			label:SetTextColor( custom.color )
			return custom.text
		elseif ply:IsUserGroup( "moderators" ) then
			label:SetTextColor( Color( 0, 0, 200 ) )
			return "Moderator"
		elseif ply:IsUserGroup( "admin" ) then
			label:SetTextColor( Color( 0, 255, 0 ) )
			return "Admin"
		elseif ply:IsUserGroup( "superadmin" ) then
			label:SetTextColor( Color( 255, 0, 0 ) )
			return "Superadmin"
		else
			label:SetTextColor( Color( 255, 255, 255 ) )
			return "Player"
		end
	end)
end
hook.Add( "TTTScoreboardColumns", "CustomRanksTTT", CustomRanks )


If anyone has a clue on how to help, that would be greatly appreciated.

(This has also been posted on the TTT forums: http://www.zombiemaster.org/smf/index.php?topic=13317.0)

http://forum.facepunch.com/showthread.php?t=1356376

I’ve seen that. It can’t be used in it’s current state and I’d like to get this running ASAP (I have also seen this: http://forum.facepunch.com/showthread.php?t=1356376&p=44378829&viewfull=1#post44378829, so don’t even try).