Thanks for the suggestion. Sounded what I needed but when I tried it,
didn't have the effect I hoped for.
The following still gives an exception (in the constructor of a Widget):
qx.ui.core.queue.Manager.flush();
var container = this.getContentElement().getDomElement();
container.style.lineHeight
Hi Peter,
you can force a queue flush by calling
qx.ui.core.queue.Manager.flush()
Regards,
Daniel
On 25.08.2014 09:13, Peter Dekkers wrote:
> When developing a widget, I found out that I have to wait for the appear
> event before I can access the underlying dom elements. When I try to
> access
When developing a widget, I found out that I have to wait for the appear
event before I can access the underlying dom elements. When I try to access
this element before that, it is not yet defined. So my code looks like this:
this.addListenerOnce("appear", () => {
var container = this.