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
    42
    Vote Rating
    2
    urban.novak is on a distinguished road

      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
    3,278
    Vote Rating
    63
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


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

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi