Commit 2e93147e authored by LMZ's avatar LMZ

feat: 文本题干大小自适应

parent fed2ff90
...@@ -1142,7 +1142,7 @@ cc.Class({ ...@@ -1142,7 +1142,7 @@ cc.Class({
const label = this.curQuesBg.label; const label = this.curQuesBg.label;
const size = 80; const size = 80;
label.string = `<size=${size}><color=#fff4b6>${this.curQuestionData.text + 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'}</color></size>` label.string = `<size=${size}><color=#fff4b6>${this.curQuestionData.text}</color></size>`
const maxH = this.curQuesBg.height * 0.98; const maxH = this.curQuesBg.height * 0.98;
......
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