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.2.2 - Released 06/02/2010
[extjs.git]
/
pkgs
/
data-list-views-debug.js
diff --git
a/pkgs/data-list-views-debug.js
b/pkgs/data-list-views-debug.js
index
a2fffcf
..
561344d
100644
(file)
--- a/
pkgs/data-list-views-debug.js
+++ b/
pkgs/data-list-views-debug.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.2.
1
+ * Ext JS Library 3.2.
2
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-964,7
+964,7
@@
Ext.list.ListView = Ext.extend(Ext.DataView, {
/*
* IE has issues when setting percentage based widths to 100%. Default to 99.
*/
/*
* IE has issues when setting percentage based widths to 100%. Default to 99.
*/
- maxWidth: Ext.isIE ? 99 : 100,
+ max
Column
Width: Ext.isIE ? 99 : 100,
initComponent : function(){
if(this.columnResize){
initComponent : function(){
if(this.columnResize){
@@
-1029,8
+1029,8
@@
Ext.list.ListView = Ext.extend(Ext.DataView, {
// auto calculate missing column widths
if(colsWithWidth < len){
var remaining = len - colsWithWidth;
// auto calculate missing column widths
if(colsWithWidth < len){
var remaining = len - colsWithWidth;
- if(allocatedWidth < this.maxWidth){
- var perCol = ((this.maxWidth-allocatedWidth) / remaining)/100;
+ if(allocatedWidth < this.max
Column
Width){
+ var perCol = ((this.max
Column
Width-allocatedWidth) / remaining)/100;
for(var j = 0; j < len; j++){
var c = cs[j];
if(!c.width){
for(var j = 0; j < len; j++){
var c = cs[j];
if(!c.width){
@@
-1394,7
+1394,7
@@
Ext.list.ColumnResizer = Ext.extend(Ext.util.Observable, {
len = cs.length,
w = this.view.innerHd.getWidth(),
minPct = this.minPct * 100,
len = cs.length,
w = this.view.innerHd.getWidth(),
minPct = this.minPct * 100,
- pct = Math.ceil((nw * vw.maxWidth) / w),
+ pct = Math.ceil((nw * vw.max
Column
Width) / w),
diff = (cs[index].width * 100) - pct,
eachItem = Math.floor(diff / (len-1-index)),
mod = diff - (eachItem * (len-1-index));
diff = (cs[index].width * 100) - pct,
eachItem = Math.floor(diff / (len-1-index)),
mod = diff - (eachItem * (len-1-index));