Sorry, my fault:(

this._button = new qx.ui.menu.Button("Some label");

should be

this._button = new qx.ui.toolbar.MenuButton("Some label");

Cheers
- Petr

2008/8/28 Petr Kobalíček <[EMAIL PROTECTED]>:
> I know that today is final for qx0.8, so I have one issue:
>
> this code in application main() is not working:
> main: function() {
>      // [SuperClass]
>      this.base(arguments);
>
>      // [Container]
>      this._container = new qx.ui.container.Composite(
>        new qx.ui.layout.VBox().set({
>          spacing: 1
>        })
>      );
>      this.getRoot().add(this._container, {left:0, top:0, right:0,
> bottom: 0});
>
>      // [MenuBar]
>      this._menuBar = new qx.ui.toolbar.ToolBar;
>      this._button = new qx.ui.menu.Button("Some label");
>      this._menuBar.add(this._button);
>      this._button.setMenu(new qx.ui.menu.Menu());
> }
>
> error:
>      menu.getColumnSizes is not a function
>      [Break on this error]
> qx={Bootstrap:{genericToString:function(){return "[Class
> "+this.classname+"]";},...
>
> Maybe something must be in qx.ui.menu.Menu ?
>
> Cheers
> - Petr
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to