On 04/25/2012 05:09 PM, Simon Walter wrote: > I've made a kind of spreadsheet type grid by using: > qx.ui.virtual.core.Scroller > qx.ui.virtual.layer.WidgetCell > > It's for most part how the virtual gallery is done in demos. > > I'd like the first row and column to have different characteristics. The > first row should be wider, as it contains a string. I thought using > qx.ui.virtual.layer.WidgetCellSpan seems like the way to go, and yet I > cannot get the first row to span. I might be going about this all wrong... > > In any case, here is what I've done that does not work: > > var scroller = new qx.ui.virtual.core.Scroller(rowCount, colCount, > this.itemHeight, this.itemWidth); > var rowConfig = new qx.ui.virtual.core.Axis(60, 1); > var colConfig = new qx.ui.virtual.core.Axis(60, 1); > this.layer = new qx.ui.virtual.layer.WidgetCellSpan(this, rowConfig, > colConfig); > scroller.getPane().addLayer(this.layer); >
Can someone tell me what the purpose of the qx.ui.virtual.core.Axis is for in this situation and why qx.ui.virtual.layer.WidgetCellSpan was designed to use them? Thanks, Simon -- simonsmicrophone.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
