> Hi, being a newbie i hope i will be forgiven for any apparent ignorance.
> That said, i have been tweaking my first app and have hit a snag.
> I cant trace or explain for that matter why my menu bar is displaced
> vertically.
> kindly give me tow out of this mud hole............ :)
Hi Ale!

The short answer is you have to add all of your menus to the base client
document, and not to the pageview pane as you did.

So, if you replace this line in your code:

      barView.getPane().add(m1, m2, m3, m3_suba, m3_subb, m3_subc,
m3_subd, mb3_subd_02_suba, m4, m4_suba, m5);

with the following:

      var a = [m1, m2, m3, m3_suba, m3_subb, m3_subc, m3_subd,
mb3_subd_02_suba, m4, m4_suba, m5];
      for(var i=0;i<a.length;i++)
      {
        a[i].addToDocument();
      }

it works.

One other thing: You are using a qx.ui.toolbar.ToolBar to arrange your
menus, but there is also a qx.ui.menubar.MenuBar to that end. You might
want to look at that.

Nice coding though ...

=Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to