Results 1 to 2 of 2

Thread: Panel inside a scorlling window

  1. #1

    Default Panel inside a scorlling window

    Hi,
    i have a window with fixed width and height , and a panel inside it , the panel contains a fieldset collapsed .
    can somebody write a simple example that makes the window scroll when the fieldset is expanded( we suppose that after expanding the fieldset, the panel height is greater than the window's) ...i tried very hard , but no results

    thanks !

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791

    Default

    we suppose that after expanding the fieldset, the panel height is greater than the window's
    Not necessarily, it all depends on what layouts you have specified on the window and panel. With the default layout you are correct, the panel will be to tall. Just put autoScroll: true on the window.

    If you have a fit layout on the window then the panel will be the correct, it'll be the fieldset that's too tall. If that's the case just put autoScroll: true on the panel.

Posting Permissions

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