qx.ui.form.ListItem inherits from Atom, you should just be able to the 
rich property to true and set your lines as HTML.

var li = new qx.ui.form.ListItem().set(
{
   rich : true,
   label : line1 + "<br />" + line2 + "<br />" + line3
});

That should save you having to write your own widget.

BTW: There if this doesn't suite your needs, you might be interested in 
tileview.TileViewItem from the qooxdoo contrib.

Michael Ochs wrote:
> Hi,
> 
> I'm working on a list with "recent entries". This list needs to  
> display an image and 3 labels, where the second one has multiple  
> lines. So I was wondering wether it is possible to use qx.ui.form.List  
> for that and customize the look of the qx.ui.form.ListItem ? I would  
> like to arrange the parts of the item in a container and submit this  
> container to the ListItem, is that possible?
> 
> Best regards,
> Michael
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to