You found a bug! We've classified it as EXTJS-8790 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,616
    Vote Rating
    327
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default [4.2.0.489] CSS border-spacing can interfere with layouts

    [4.2.0.489] CSS border-spacing can interfere with layouts


    Some layouts are working incorrectly when rendering components inside an HTML table. This seems to be due to the CSS border-spacing being inherited by the elements of the panel:

    Code:
    Ext.onReady(function () {
        new Ext.panel.Panel({
            renderTo: 'cell',
            width: 300,
    
            items: [{
                html: 'Item'
            }]
        });
    });
    Code:
    <body>
        <table>
            <tr>
                <td id="cell"></td>
            </tr>
        </table>
    </body>
    Some layouts work fine, e.g. fit, some are out by 2px, e.g. auto and column.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    873
    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


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

Thread Participants: 1