skills fix

This commit is contained in:
Henrique 2011-11-14 17:33:49 -02:00
parent b74755f94f
commit da3b39017d
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function Skills.create()
nameLabel:resizeToText()
local levelLabel = UILabel.create()
skillButton :addChild(levelLabel)
skillButton:addChild(levelLabel)
levelLabel:setStyle('SkillLevelLabel')
levelLabel:setId('skillLevelId' .. i)
levelLabel:setText('0')

View File

@ -15,6 +15,7 @@ SkillNameLabel < Label
SkillLevelLabel < Label
font: verdana-11px-monochrome
align: right
width: 32
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom