摘要: js代码如下: 1 /* 2 *高度自动增长的文本框 3 */ 4 Ext.define('ux.TextArea', { 5 extend: 'Ext.field.TextArea', 6 xtype: 'autoTextArea', 7 config: { 8 clearIcon: false, 9 //不配置maxRows和lineHeight则没有增长限制10 maxRows: 3,11 lineHeight: 2912 },13 initialize: function () {1... 阅读全文
posted @ 2014-03-05 20:54 魔狼再世 阅读(1495) 评论(1) 推荐(2)