Results 1 to 3 of 3

Thread: Window constrained inside a container with scrollbar

  1. #1

    Default Window constrained inside a container with scrollbar

    Hi, I'm looking for a way to display multiple windows constrained inside a container, something like:

    ContainerWindow.jpg

    As you can see windows are not only constrained inside their container but they force it to scroll if the space is not enough to contain them. Furthermore if I drag down or up a window, the container's scrollbar increase or decrease her size.
    If I try to use windows I have the problem of binding them to a container that hides and move them on scrolling.
    Any idea?

    Thank you.

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737

    Default

    The Window class won't work for this, as it assumes it is attached to the root of the page, not to an arbitrary container. Instead, try using ContentPanels or FramedPanels, and wrapping them with a Draggable instance (as seen on http://www.sencha.com/examples-dev/#...lace:draggable), and configure the container to have overflow: scroll or auto.

  3. #3

    Default

    Thanks so much for the very fast reply, I had this doubt, I will follow the road that you got me shown.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •