Hi Benoit,

On Wednesday 02 December 2009 benco wrote:
> I'm currently using a qx.ui.toolbar.ToolBar() inside an inline application.
> 
>  It renders perfectly but I however experience a little issue: after
> clicking on a menuButton, it is impossible to make the targeted menu
> disappear without reclicking on the menuButton - I remember this behaviour
> works however well in full applications.
Sounds like a bug to me and I do remember that I fixed that isse a time ago. At 
that time there wasn't any blocker element included so maybe this is 
regression which made it into qx with the addition of this blocker.

> So, I suspect the blocker inside the currently deployed qx.ui.menu.Menu()
> has a size of (0,0) - it uses a blocker if I'm not mistaken, right ?
Yes, the menu uses a blocker.

> I suppose this wrong size occurs because the root app don't equals to the
> document.body maincontainer... but I don't know how to fix it. 
Yepp, also true :)

> Is it possible to access directly the blocker and affect the good size ? 
No, it does not have a public API.
 
> Or maybe I have to configure the root to a the highest parent element - but
> I don't know how to declare it ? 
> 
> Or maybe I have to add an event on the document to hide the currently shown
> menu when clicking outside of it ?
Please open a bug report for this issue so we can take a look at it. It would 
be great if you can add a little code snippet to the report. That would help a 
lot.

cheers,
  Alex


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to