Results 1 to 2 of 2

Thread: Auto Scroll layout issue

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267

    Default Auto Scroll layout issue

    With the following code, size the west container larger and the center container then reserves space for scroll bars even though they are neither needed nor shown. Size it back down below the original width and the reserved space goes away.

    Code:
             Ext.onReady (function() {
                var viewPort = Ext.create('Ext.container.Viewport', {
                   layout: 'border',
                   items: [{
                      collapsible: true,
                      minWidth: 100,
                      maxWidth: 500,
                      region: 'west',
                      split: true,
                      width: 250
                   }, {
                      id: 'contentArea',
                      xtype: 'tabpanel',
                      border: true,
                      enableTabScroll: true,
                      layoutOnChange: true,
                      region: 'center',
                      activeItem: 0,
                      items: [{
                         layout: 'fit',
                         activeItem: 0,
                         autoScroll: true,
                         closable: true,
                         title: 'Content',
                         items: [{
                            flex: 1,
                            layout: { type: 'hbox', padding: 5,  align: 'stretch'  }, 
                            items: [{
                               xtype: 'panel',
                               flex: 1,
                               title: 'Panel'
                            }]
                         }]
                      }]
                   }]
                });
             });

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267

    Default

    This bug is still occurring in the release version.

Similar Threads

  1. Tree DragDrop Auto scroll issue
    By ejatin in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 2 Oct 2012, 5:13 AM
  2. Layout/scroll Issue
    By stratboogie in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 7 Feb 2011, 6:04 PM
  3. [2.2.1] FormPanel Scroll.AUTOY layout issue in IE
    By baskor in forum Ext GWT: Discussion
    Replies: 3
    Last Post: 3 Dec 2010, 2:31 AM

Posting Permissions

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