add ui padding

This commit is contained in:
Eduardo Bart
2012-01-09 16:45:28 -02:00
parent ada5c031d6
commit 3230095cea
17 changed files with 126 additions and 59 deletions

View File

@@ -46,7 +46,7 @@ local function displayMessage(msgtype, msg, time)
label:setVisible(true)
label:setText(msg)
label:setStyle(style)
label:setForegroundColor(msgtype.color)
label:setColor(msgtype.color)
if not time then
time = math.max(#msg * 75, 3000)