Results 1 to 4 of 4

Thread: [RE-OPENED EXTJSIV-2357] [4.0.2-rc3] Panels in panel with layout=auto - not visible

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    42

    Default [RE-OPENED EXTJSIV-2357] [4.0.2-rc3] Panels in panel with layout=auto - not visible

    Testcase (this example works properly in 4.0.1):
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <title>bug</title>
      <link rel="stylesheet" type="text/css"
          href="http://dev.sencha.com/deploy/ext-4.0.2-rc3/resources/css/ext-all.css"/>
      <script type="text/javascript"
          src="http://dev.sencha.com/deploy/ext-4.0.2-rc3/ext-all-debug.js"></script>
    </head>
    <body>
    <script type="text/javascript">
      Ext.onReady(function() {
    
        var panels = [];
        for (var i = 0; i < 10; i++) {
          panels.push({xtype:'panel', height: 150, title: 'pane'});
        }
    
        var vp = Ext.create("Ext.container.Viewport", {
          layout: 'border',
          items: [
            Ext.create("Ext.panel.Panel", {
              region: 'west',
              width: 300,
              split: true
            }),
            {xtype:'tabpanel', region: 'center',
              items: [
                {xtype: 'panel', bodyPadding: 20, title:'Panels', layout: 'auto',
                  autoScroll: true, items: panels}
              ]
            }
          ]
        });
      });
    </script>
    
    </body>
    </html>

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    42

    Default

    If, instead of the panel, use a container, then the example works correctly. What is wrong with the panels ...

    Code:
    ...
    
      Ext.onReady(function() {
    
        var panels = [];
        for (var i = 0; i < 10; i++) {
          panels.push({xtype:'container', height: 150, title: 'pane', style:{border:'navy solid 1px'}});
        }
    
    ...

  3. #3
    Sencha - Engineering Operations
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221

    Default

    Thank you for the bug report, we've re-opened EXTJSIV-2357 as a result

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Just fixed that now.

Posting Permissions

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