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() nameLabel:resizeToText()
local levelLabel = UILabel.create() local levelLabel = UILabel.create()
skillButton :addChild(levelLabel) skillButton:addChild(levelLabel)
levelLabel:setStyle('SkillLevelLabel') levelLabel:setStyle('SkillLevelLabel')
levelLabel:setId('skillLevelId' .. i) levelLabel:setId('skillLevelId' .. i)
levelLabel:setText('0') levelLabel:setText('0')

View File

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