【发布时间】:2013-02-13 19:27:01
【问题描述】:
如何在 Ext.draw.Text 元素上动态更改文本?
this.textLabel = Ext.create "Ext.draw.Text"
type : 'text',
text : me.curValue,
font : '24px Arial',
width : 100,
height: 30,
x : 100
y : 120
此方法无效:
this.textLabel.setText("new text")
我该怎么做?
【问题讨论】: