git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git]
/
docs
/
source
/
AnchorLayout.html
diff --git
a/docs/source/AnchorLayout.html
b/docs/source/AnchorLayout.html
index
51566e3
..
fe8fc8d
100644
(file)
--- a/
docs/source/AnchorLayout.html
+++ b/
docs/source/AnchorLayout.html
@@
-94,19
+94,21
@@
anchor: '-50 75%'
// private
monitorResize:true,
// private
monitorResize:true,
+ type: 'anchor',
- // private
- // deprecate
- getAnchorViewSize : function(ct, target){
- return target.dom == document.body ?
- target.getViewSize(true) : target.getStyleSize();
+ getLayoutTargetSize : function() {
+ var target = this.container.getLayoutTarget();
+ if (!target) {
+ return {};
+ }
+ // Style Sized (scrollbars not included)
+ return target.getStyleSize();
},
// private
onLayout : function(ct, target){
Ext.layout.AnchorLayout.superclass.onLayout.call(this, ct, target);
},
// private
onLayout : function(ct, target){
Ext.layout.AnchorLayout.superclass.onLayout.call(this, ct, target);
-
- var size = target.getViewSize(true);
+ var size = this.getLayoutTargetSize();
var w = size.width, h = size.height;
var w = size.width, h = size.height;
@@
-128,7
+130,7
@@
anchor: '-50 75%'
ah = ct.initialConfig.height;
}
ah = ct.initialConfig.height;
}
- var cs =
ct.items.items
, len = cs.length, i, c, a, cw, ch, el, vs;
+ var cs =
this.getRenderedItems(ct)
, len = cs.length, i, c, a, cw, ch, el, vs;
for(i = 0; i < len; i++){
c = cs[i];
el = c.getPositionEl();
for(i = 0; i < len; i++){
c = cs[i];
el = c.getPositionEl();