Hello,
I assume for you experts it is very simple :-)
I have a main container with height = 300.

The final application will show an menu then an Label, then an table and
some other stuff.

I want some buttons at the end (below) of the container
It should be like an "windows status bar"

I tried it with Hbox to place the buttons. But how can I place the HBox to
the lowest end of the main container?

best regards
Hansjoerg

Playground example:
------------------------------------------------
  var mainContainer = new qx.ui.container.Composite(new
qx.ui.layout.HBox(40));      
      
  
   mainContainer.set({
        backgroundColor: "yellow",
        //decorator: border,
    decorator: "main",
        padding: 10,
        width: 400,
     height: 300

      });

 
  var box = new qx.ui.layout.HBox();
      box.setSpacing(10);

      var container = new qx.ui.container.Composite(box);
      container.setPadding(20);
      //this.getRoot().add(container, {left:0,top:0});

      var btn1 = new qx.ui.form.Button("Button A",
"icon/22/apps/media-video-player.png");
      container.add(btn1);

      var btn2 = new qx.ui.form.Button("Button B",
"icon/22/apps/internet-mail.png");
      btn2.setEnabled(false);
      container.add(btn2);


      mainContainer.add(container);

this.getRoot().add(mainContainer);

-- 
View this message in context: 
http://old.nabble.com/Place-%28HBOX%29-buttons-at-the-end-of-container--tp27819635p27819635.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to