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]
/
src
/
widgets
/
list
/
ListView.js
diff --git
a/src/widgets/list/ListView.js
b/src/widgets/list/ListView.js
index
66ec80e
..
381ab99
100644
(file)
--- a/
src/widgets/list/ListView.js
+++ b/
src/widgets/list/ListView.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
@@
-192,7
+192,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){
@@
-257,8
+257,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){