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.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to