changeset 81 | 472bd9195a15 |
80:181b3a0ee15a | 81:472bd9195a15 |
---|---|
1 define("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(a){return{resizeToContent:function(){this._layoutRect.autoResize=true;this._lastRect=null;this.reflow()},resizeTo:function(b,c){if(b<=1||c<=1){var d=a.getWindowSize();b=b<=1?b*d.w:b;c=c<=1?c*d.h:c}this._layoutRect.autoResize=false;return this.layoutRect({minW:b,minH:c,w:b,h:c}).reflow()},resizeBy:function(c,e){var b=this,d=b.layoutRect();return b.resizeTo(d.w+c,d.h+e)}}}); |