Hi Jose, thanks for reporting, could you please open a bug report for that? (http://bugzilla.qooxdoo.org/)
Thanks, Chris [email protected] schrieb: > Hi Christian, > > > Thanx for the sample code. I was pretty sure I would have to write my own > class or event handler but just wanted to be sure that their wasn't a built > in way. > > About the menu bug, I cant say if it's a bug or rather just a weird default > but if you look at: > > http://demo.qooxdoo.org/current/demobrowser/#widget~MenuBar.html > > You will see that if you click a button (e.g. File) and mouse over the menu > that the button looses its blue (active/hovered) decoration. Only after > mousing over another button and coming back does it take the correct > decoration (blue). This seems to be the default behavior. It is a simple > thing to fix but maybe a tad weird for a default. > > On another note, I am very impressed with the toolkit, documentation and > support. > > Regards, > Jose > > -----Original Message----- > From: Christian Schmidt [mailto:[email protected]] > Sent: Friday, September 18, 2009 10:03 AM > To: qooxdoo Development > Subject: Re: [qooxdoo-devel] How to display the Menu when hovering over a > ToolbarMenuButton > > Hi, > >> Just wondering if there is a simple way to tell a menu to >> automatically show when hovering over it's menubutton instead of >> having to click? I see no property for this? >> >> > No, there is no property for this. > >> Should I use event handles and manually show the menu or can I use the >> sates? >> >> > States are used for the appearance and decorator system, so you have to use > the event handles for that. Have a look at the example below (playground). > >> Also, im not sure if this is a bug but when I click a toobar menu >> button the button looses its hover, selected decorator untill you >> mouse over another button and come back. Is this normal? >> >> > Could you please post an example code to reproduce this? > > Cheers, > Chris > > http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22qx.Class.define%28%2522my.Button%2522%252C%250A%257B%250A%2520%2520extend%2520%253A%2520qx.ui.menubar.Button%252C%250A%250A%2520%2520members%2520%253A%250A%2520%2520%257B%250A%2520%2520%2520%2520_onMouseOver%2520%253A%2520function%28e%29%250A%2520%2520%2520%2520%257B%250A%2520%2520%2520%2520%2520%2520this.addState%28%2522hovered%2522%29%253B%250A%250A%2520%2520%2520%2520%2520%2520if%2520%28this.getMenu%28%29%29%250A%2520%2520%2520%2520%2520%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520var%2520menubar%2520%253D%2520this.getMenuBar%28%29%253B%250A%2520%2520%2520%2520%2520%2520%2520%2520%250A%2520%2520%2520%2520%2520%2520%2520%2520qx.ui.menu.Manager.getInstance%28%29.hideAll%28%29%253B%250A%250A%2520%2520%2520%2520%2520%2520%2520%2520this.open%28%29%253B%250A%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%2520%2520%257D%250A%257D%29%253B%250A%250Avar%2520menu1%2520%253D%2520new%2520qx.ui.menu.Menu%28%29%253B%250Amenu1.add%28new%2520qx.ui.menu.Button%28%2522one%2522%29%29%253B%250Amenu1.add%28new%2520qx.ui.menu.Button%28%2522two%2522%29%29%253B%250Amenu1.add%28new%2520qx.ui.menu.Button%28%2522three%2522%29%29%253B%250A%250Avar%2520menu2%2520%253D%2520new%2520qx.ui.menu.Menu%28%29%253B%250Amenu2.add%28new%2520qx.ui.menu.Button%28%2522one%2522%29%29%253B%250Amenu2.add%28new%2520qx.ui.menu.Button%28%2522two%2522%29%29%253B%250Amenu2.add%28new%2520qx.ui.menu.Button%28%2522three%2522%29%29%253B%250A%250Avar%2520menu3%2520%253D%2520new%2520qx.ui.menu.Menu%28%29%253B%250Amenu3.add%28new%2520qx.ui.menu.Button%28%2522one%2522%29%29%253B%250Amenu3.add%28new%2520qx.ui.menu.Button%28%2522two%2522%29%29%253B%250Amenu3.add%28new%2520qx.ui.menu.Button%28%2522three%2522%29%29%253B%250A%250Avar%2520toolbar%2520%253D%2520new%2520qx.ui.toolbar.ToolBar%28%29%253B%250Atoolbar.add%28new%2520my.Button%28%2522one%2522%252C%2520null%252C%2520menu1%29%29%253B%250Atoolbar.add%28new%2520my.Button%28%2522two%2522%252C%2520null%252C%2520menu2%29%29%253B%250Atoolbar.add%28new%2520my.Button%28%2522three%2522%252C%2520null%252C%2520menu3%29%29%253B%250A%250Avar%2520doc%2520%253D%2520this.getRoot%28%29%253B%250Adoc.add%28toolbar%252C%2520%257Bleft%253A%2520100%252C%2520top%253A%252050%257D%29%253B%250A%22%7D > > -- > Christian Schmidt > Software Entwickler > > 1&1 Internet AG - Web Technologies > Ernst-Frey-Straße 9 · DE-76135 Karlsruhe [email protected] > > Amtsgericht Montabaur / HRB 6484 > Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas > Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver > Mauss, Jan Oetjen > Aufsichtsratsvorsitzender: Michael Scheeren > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA is the > only developer event you need to attend this year. Jumpstart your developing > skills, take BlackBerry mobile applications to market and stay ahead of the > curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Christian Schmidt Software Entwickler 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe [email protected] Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
