projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48ba92
)
Roo/Resizable.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 24 Sep 2010 06:21:30 +0000
(14:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 24 Sep 2010 06:21:30 +0000
(14:21 +0800)
Roo/Resizable.js
patch
|
blob
|
history
diff --git
a/Roo/Resizable.js
b/Roo/Resizable.js
index
b3b3189
..
988142f
100644
(file)
--- a/
Roo/Resizable.js
+++ b/
Roo/Resizable.js
@@
-418,14
+418,12
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
y += diffY;
h -= diffY;
break;
+ case "hdrag":
case "west":
diffX = this.constrain(w, diffX, mw, mxw);
x += diffX;
w -= diffX;
break;
- case "hdrag":
- x += diffX;
- break;
case "northeast":
w += diffX;
w = Math.min(Math.max(mw, w), mxw);
@@
-529,6
+527,9
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
}
}
+ if (pos == 'hdrag') {
+ w = ow;
+ }
this.proxy.setBounds(x, y, w, h);
if(this.dynamic){
this.resizeElement();