Thats most likely because the "label" child control has set "anonymous" to true. So it will not react on these events. Although this is a bit of "misuse" of the Atom, you can set it to "true" and it should work:
http://tinyurl.com/oalnfwc Am Mittwoch, den 21.10.2015, 16:35 +0300 schrieb Олег Портнихин: > Hi, all. I'd like to separate 'tap' events for qx.ui.basic.Atom. > > I have a control: > > control = new qx.ui.basic.Atom(); > get his label child control and add listener: > > control.getChildControl("label").addListener("tap", function() { > console.log('test'); > }, this); > And console.log('test') doesn't work when I tap Atom. Please help. > Thanks a lot. > > --------------------------------------------------------------------- > --------- > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel