Lines Matching refs:widths
324 var widths = {};
327 widths[columnIdentifier] = (columns[columnIdentifier].title || "").length;
334 if (text.length > widths[columnIdentifier])
335 widths[columnIdentifier] = text.length;
341 totalColumnWidths += widths[columnIdentifier];
345 var width = Math.round(100 * widths[columnIdentifier] / totalColumnWidths);
353 widths[columnIdentifier] = width;
358 if (widths[columnIdentifier] > minPercent) {
359 --widths[columnIdentifier];
369 if (widths[columnIdentifier] < maxPercent) {
370 ++widths[columnIdentifier];
379 columns[columnIdentifier].element.style.width = widths[columnIdentifier] + "%";
395 // Updates the widths of the table, including the positions of the column
414 // Give all the columns initial widths now so that during a resize,
416 // their widths, all the other columns already have percent values
417 // for their widths.
449 // Normalize widths