Commit d0bddc75 authored by Li Mingzhe's avatar Li Mingzhe

feat: title size

parent eb34e572
......@@ -609,11 +609,12 @@ cc.Class({
label.font = cc.find('Canvas/res/font/BRLNSR_1').getComponent(cc.Label).font;
// label.string = `<outline color=#375700 width=4><size=${size}><color=#751e00>${this.curGroup.title }</color></size></outline>`
label.string = `<size=${size}><color=#751e00>${this.curGroup.title }</color></size>`
label.lineHeight = size;
label.horizontalAlign = cc.macro.TextAlignment.LEFT
labelNode.anchorX = 0;
labelNode.anchorY = 1
labelNode.x = 40;
labelNode.y = -80;
labelNode.y = -60;
this.titleLabel = label;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment