Hi Herman,
the virtual list has no auto sizing. You have also set the default
height for a item:
list.setItemHeight(52);
Cheers,
Chris
Am 08.04.2011 14:29, schrieb hgc2002:
> I'm using a delegate with a virtual list of Qx 1.3. here is my code:
>
> list.setDelegate({
> configureItem : function(item) {
> item.getChildControl("icon").setRich(true); //this works
> item.getChildControl("icon").setWidth(50); //this works
> item.getChildControl("icon").setHeight(50); //this fails
> }
> });
>
> The idea of the code come from here:
> http://demo.qooxdoo.org/1.3/demobrowser/demo/data/Twitter.html
>
> The width and label changes works, but the height is not taken in count.
>
> Any help?
>
> Regards,
> Herman
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Can-t-change-the-height-of-ListItem-in-virtual-list-tp6253480p6253480.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel