Author: dmorozov
Date: 2007-06-26 06:11:25 -0400 (Tue, 26 Jun 2007)
New Revision: 1317
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js
Log:
Fix bug with updateLayout agjusting for height
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js 2007-06-26
10:05:39 UTC (rev 1316)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js 2007-06-26
10:11:25 UTC (rev 1317)
@@ -64,7 +64,7 @@
updateLayout: function() {
if(this.container) {
var w = this.container.getWidth();
- var h = this.container.getWidth();
+ var h = this.container.getHeight();
if(ClientUILib.isGecko) {
w -= this.container.getBorderWidth("lr") +
this.container.getPadding("lr");
h -= this.container.getBorderWidth("tb") +
this.container.getPadding("tb");
Show replies by date