2
크기 조정이 가능한 패널이 있습니다. 이벤트 크기를 조정 한 후 패널의 x 및 y 위치를 계산해야합니다. 지금까지 나는이Extjs 패널 리사이저 - 크기 변경 후
Panel.resizer = new Ext.Resizable(Panel.el, {
animate: true,
duration: '.6',
easing: 'backIn',
handles: 'all',
constrainTo: 'dropBoxWindow',
pinned: false,
transparent: true
});
Panel.resizer.on("resize", function (oResizable, iWidth, iHeight, e) {
console.log(panel.el.getX()); // getting the x position before the resize..need to get position after resize.
Panel.setHeight(iHeight);
Panel.setWidth(iWidth);
}, this);
누군가가 제가 정확히이 코드를 달성하려는 모르겠어요이
이 질문에 답하지 않은 이유는 무엇입니까? 이 코드가 효과가 있습니까? – sbgoran
작동 ....... – prajeesh