I'm trying to display in a table some images sized 32x32 pixels (or 
larger). However, whatever parameters I pass to cellrenderer.Image, and 
whatever the image's size is, only the first 16x16 pixels are shown; the 
rest of the mage is truncated. Where is the mistake?

      var tableModel = new qx.ui.table.model.Simple();
      tableModel.setColumns([ "Image" ]);
      tableModel.setData([[ "image32x32.png"]]);

      var table = new qx.ui.table.Table(tableModel);
      table.setRowHeight(32);
      var renderer = new qx.ui.table.cellrenderer.Image(32, 32);
      table.getTableColumnModel().setDataCellRenderer(0, renderer);
      
      this.getRoot().add(table, {left: 10, top: 10});     

Thanks for any hint (and solution...)

A. Weber
Penplan Consulting GmbH

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to