You found a bug! We've classified it as EXTJS-9174 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User VDP's Avatar
    Join Date
    Feb 2012
    Location
    Boom, Belgium
    Posts
    79
    Vote Rating
    9
    VDP will become famous soon enough

      1  

    Default Default fieldset throws warnings in the layout diagnostics tool

    Default fieldset throws warnings in the layout diagnostics tool


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.2.0
    Browser versions tested against:
    • Chrome Version 25.0.1364.172 m
    Description:

    If you create a fieldset, layout rendering shows a warning.

    BAD! containerChildrenSizeDone set by legendToggle and legendTitle.

    I'm thinking this can be an origin of further (layout) problems in the application I'm currently working on.

    Steps to reproduce the problem:
    • add "./src/diag/layout/Context.js"
    • add "./src/diag/layout/ContextItem.js"
    • render a fieldset
    The result that was expected:
    • no warnings - no issues
    The result that occurs instead:
    ==================== LAYOUT ==================== ext-all-dev.js:12212
    [W] BAD! fieldset-1010-legend.containerChildrenSizeDone set by fieldset-1010-legendToggle<autocomponent> and fieldset-1010-legendTitle<autocomponent> ext-all-dev.js:12212
    ----------------- SUCCESS ----------------- ext-all-dev.js:12212
    Cycles: 16, Flushes: 6, Calculates: 25 in 39 msec ext-all-dev.js:12212
    Calculates by type: ext-all-dev.js:12212
    autocomponent: 4 in 5 tries (1.3x) at 5 msec (avg 1 msec) ext-all-dev.js:12212
    anchor: 1 in 3 tries (3x) at 3 msec (avg 1 msec) ext-all-dev.js:12212
    dock: 1 in 3 tries (3x) at 3 msec (avg 1 msec) ext-all-dev.js:12212
    hbox: 1 in 2 tries (2x) at 2 msec (avg 1 msec) ext-all-dev.js:12212
    body: 1 in 3 tries (3x) at 1 msec (avg 0.333 msec) ext-all-dev.js:12212
    autocontainer: 1 in 1 tries (1x) at 1 msec (avg 1 msec) ext-all-dev.js:12212
    textfield: 2 in 2 tries (1x) at 1 msec (avg 0.5 msec) ext-all-dev.js:12212
    fieldset: 1 in 3 tries (3x) at 1 msec (avg 0.333 msec) ext-all-dev.js:12212
    column: 1 in 3 tries (3x) at 0 msec (avg 0 msec) ext-all-dev.js:12212


    Test Case:


    Code:
    Ext.onReady(function(){     Ext.create('Ext.form.Panel', {
            title: 'Simple Form with FieldSets',
            labelWidth: 75, // label settings here cascade unless overridden
            url: 'save-form.php',
            frame: true,
            bodyStyle: 'padding:5px 5px 0',
            width: 550,
            renderTo: Ext.getBody(),
            layout: 'column', // arrange fieldsets side by side
            items: [{
                // Fieldset in Column 1 - collapsible via toggle button
                xtype:'fieldset',
                columnWidth: 0.5,
                title: 'Fieldset 1',
                collapsible: true,
                defaultType: 'textfield',
                defaults: {anchor: '100%'},
                layout: 'anchor',
                items :[{
                    fieldLabel: 'Field 1',
                    name: 'field1'
                }, {
                    fieldLabel: 'Field 2',
                    name: 'field2'
                }]
            }]
        });
    });
    HELPFUL INFORMATION

    See this URL for live test case: http://jsfiddle.net/YVDLX/

    Possible fix:
    • pinpoint the problem
    • some documentation about layout diagnostics
    Additional CSS used:
    • only default ext-all-debug.css
    Operating System:
    • Windows 7 - 64Bit

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,731
    Vote Rating
    754
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    We can take a look into it.

    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