Re: [qooxdoo-devel] List height depends on the model size
Brought to you by:
ecker,
martinwittemann
From: woprandi <wil...@gm...> - 2015-01-23 14:46:04
|
Hi, Thanks you very much. The code works with a small fix: this.*_*getLooktupTable().*length* instead of this.getLookupTable().getLength() At least for virtual list _computeSizeHint : function() { var hint = this.base(arguments); var insets = this.getInsets(); var insetY = insets.top + insets.bottom; hint.height = this.getItemHeight() * this.getLookupTable().getLength() + insetY; // if scrollbaŕ-x is visible also count them height if (this.getChildControl("scrollbar-x").isVisible()) { hint.height += this.getChildControl("scrollbar-x").getSizeHint().height; } hint.minHeight = Math.min(hint.height, this.getMinHeight()); return hint; }, -- View this message in context: http://qooxdoo.678.n2.nabble.com/List-height-depends-on-the-model-size-tp7586715p7586719.html Sent from the qooxdoo mailing list archive at Nabble.com. |