[Js]
Ext.onReady(function () {
var basic = Ext.create('Ext.resizer.Resizer', {
target: 'basic',
pinned: true, //是否显示调节边框
width: 200,
height: 100,
minWidth: 100,
minHeight: 50,
dynamic: true, //动态设置
preserveRatio: true, //当变更大小时,长宽比例是否固定
heightIncrement: 20, //单次变更,高度变更值
widthIncrement: 20,
transparent: false //是否彻底隐藏调节边框
});
});
|