skills fix
This commit is contained in:
parent
b74755f94f
commit
da3b39017d
|
@ -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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue