Hi people,

My main application container consists of a Vbox.
After all widgets have been created the size grows and when your
browser window is not
big enought some parts fall outside the browser window and are "unreachable".
For some reason the browser does not add scrollbars to scroll to the
'hidden' parts.
What do I need to do to add scrollbars?
I tried  using this in my application main():

      var doc = this.getRoot();
      var scrollContainer= new qx.ui.container.Scroll();
      scrollContainer.set({
        width: 1000,
        height: 650
      });
      doc.add(scrollContainer, {left: 10, top: 10});
      this._mainvb= new qx.ui.container.Composite(new qx.ui.layout.VBox(5));
      scrollContainer.add(this._mainvb);

but actually I don't want to set the width. If I don't do that the
scrollcontainer has some default
size of 200x200 pixels or so which is too small.
What other suggestions are there to add scrollbars around my VBox so
that the user can scroll to the
parts outside of the browser window?
Thanks in advance for all your help.

Farid

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to