Hello all,
I have to say, qooxdoo looks awesome. Came across it awhile ago, but
finally have something at work to (hopefully) replace our current
stuff with.
Anyway, I'm testing the making of a custom widget, basically I'm
trying to make a Grid of Labels of a predefined size. Although the
code below seems to execute, nothing shows up on the browser, FF
3.0.11 on Ubuntu. Am I missing something?
-Matt
-- Application.js -- only changes from what ./generate.py source makes
are these:
// Document is the application root
var root = this.getRoot();
// Add a webtac grid
var grid = new webtac.Grid(1,2,2);
root.add(grid);
-- Grid.js --
qx.Class.define("webtac.Grid",
{
extend : qx.ui.core.Widget,
construct : function (id, rows, columns) {
this.base(arguments);
var layout = new qx.ui.layout.Grid();
this._setLayout(layout);
this.id = id;
for (row=0; row<rows; row++) {
for (col=0; col<columns; col++) {
var cell = new qx.ui.basic.Label("Cell ["+row+","+col+"]");
this._add(cell);
}
}
}
});
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel