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

@@ -37,9 +37,9 @@ function Game.onAddVip(id, name, online)
label:setText(name)
if online then
label:setForegroundColor('#00ff00')
label:setColor('#00ff00')
else
label:setForegroundColor('#ff0000')
label:setColor('#ff0000')
end
label.vipOnline = online
@@ -50,9 +50,9 @@ function Game.onVipStateChange(id, online)
local label = vipList:getChildById('vip' .. id)
if online then
label:setForegroundColor('#00ff00')
label:setColor('#00ff00')
else
label:setForegroundColor('#ff0000')
label:setColor('#ff0000')
end
label.vipOnline = online