Hi,
I'm new to Qooxdoo (i'm using version 0.7.4, because I'm using Eclipse RAP)
and I'm try to create a Custom Widget based on CanvasLayout class, that
composites another Widgets. Here little peace of code:
qx.Class.define( "my.CanvasWidget", {
extend: qx.ui.layout.CanvasLayout,
construct: function( id ) {
this.base( arguments );
...
}
}
} );
//If using:
var myCanvasWidget = new my.CanvasWidget("myId");
...
myCanvasWidget.setBackgroundColor("#ff0000");
My question is: the setBackgroundColor has no effort on myCanvasWidget, why
is it so (The property backgroundColor exist in super Class "Widget")?
P.S. this is my repost from
http://stackoverflow.com/questions/2228088/how-to-set-border-background-on-canvaslayout-based-custom-widget-in-qooxdoo
--
View this message in context:
http://n2.nabble.com/How-to-set-Border-Background-on-CanvasLayout-based-Custom-Widget-tp4543786p4543786.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel