Thanks Thomas, This is actually what I have made. I have a "banners" with several buttons on them. There is a button with a down arrow on the far right that does exactly that, opens a menu that shows *all* buttons.
I've set focusable to false on all widgets that get added to the banner and this works fine. The menu button is still focusable, and as it contains all buttons, I am not loosing any keyboard functionality :) Cheers, Matt thron7 wrote: > > thron7 wrote: >> Matt, >> >> another suggestion would be to implement your banner as some kind of >> toolbar that wraps invisible buttons into a menu, much like FF does with >> tabs it cannot display. Watcha think?! >> > > I was a bit too fast just now. I meant the FF bookmark-toolbar (not the > tabs which are scrolled). There is currently no such functionality in > qooxdoo, so I created an enhancement bug: > http://bugzilla.qooxdoo.org/show_bug.cgi?id=2335 > > T. > >> Matthew Gregory wrote: >> >>> Hi All Again, >>> I have a banner with several dynamically created buttons on. When there >>> are too many buttons to display I simple want it to clip what it cannot >>> show (similar to overflow:hidden). I've got this to work OK, but I get >>> very strange results when clicking on a button that is half visible, it >>> tries to scroll the contents so the button is fully visible, but not all >>> the time. I've spent a while looking through the code to try and disable >>> this feature but couldn't find anything that could help. >>> >>> Here is a small snippet that shows the problem in the playground. I want >>> it so when you click on the blue nothing happens. >>> On my machine in Firefox the first box will move but the second will >>> not, in IE both move. >>> >>> I am starting to think this is a browser feature, but I need to disable it. >>> >>> for (var c = 0; c < 2; c++) >>> { >>> var hbox = new qx.ui.container.Composite(new qx.ui.layout.HBox()); >>> for (var i = 0; i < 2; i++) >>> { >>> hbox.add(new qx.ui.core.Widget().set( >>> { >>> backgroundColor : i ? "blue" : "red", >>> width : 100, >>> focusable : true >>> })); >>> } >>> >>> hbox.setMinWidth(0); >>> hbox.setWidth(c ? 120:110); >>> >>> this.getRoot().add(hbox, {top : c * 65}); >>> } >>> >>> >>> ------------------------------------------------------------------------------ >>> Register Now & Save for Velocity, the Web Performance & Operations >>> Conference from O'Reilly Media. Velocity features a full day of >>> expert-led, hands-on workshops and two days of sessions from industry >>> leaders in dedicated Performance & Operations tracks. Use code vel09scf >>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
