You found a bug! We've classified it as EXTJS-11382 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    25
    Vote Rating
    0
    urban.novak is an unknown quantity at this point

      0  

    Default bad sizing of components inside window with scrollpanel

    bad sizing of components inside window with scrollpanel


    REQUIRED INFORMATIONExt version tested:
    • all versions since Ext 4.1.0 including latest 4.2.1
    Browser versions tested against:
    • affects all browsers
    Description:
    • Size of components inside window with scrollpanel is based on it's previous size, not on the current one.
    Steps to reproduce the problem:Test Case:
    Code:
    Ext.onReady(function () {
        var btn = {xtype:'button', text: 'Click me', handler: function(){
            var items = new Array();
            for(var i = 0;i<10;i++) {
                items.push({fieldLabel: 'First Name',
                                 name: 'first',
                                 allowBlank:false
                             });
            }
            Ext.create('Ext.window.Window', {
                title: 'Hello',
                height: 200,
                width: 400,
                autoScroll: true,
                items: [{
                xtype: 'form',
                    defaultType: 'textfield',
                defaults: {
                       anchor: '100%'
                    },
                    bodyPadding: 5,
                    items: items
                }]
            }).show();
        }};
      Ext.create('Ext.Viewport', {
          id : 'es-mainviewport',
          items:[btn]
      });
        
    
    
    });
    HELPFUL INFORMATION Last ext js version without this bug was ext 4.0.7, see http://jsfiddle.net/BxJse/
    See this URL for live test case: http://jsfiddle.net/nW7hZ/

    Additional CSS used:
    • only default ext-all.css
    • custom css (include details)
    Operating System:
    • ________
    • WinXP Pro

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    2,501
    Vote Rating
    53
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar