You found a bug! We've classified it as EXTJS-5489 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,763
    Vote Rating
    108
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default [4.1B3] preventHeader not honored

    [4.1B3] preventHeader not honored


    Code:
        var p = Ext.create('Ext.Panel', {
            width: 500,
            height: 300,
            preventHeader : true,
            html : 'foo'
        });
        
        p.render(Ext.getBody());
        p.collapse();
    Shows header....

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


    I think they show the header for the tool to be shown but in this case you would expect it not to be shown.

    We will look into this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Russia
    Posts
    3
    Vote Rating
    0
    Belaya is on a distinguished road

      0  

    Default


    4.1 RC2
    Try move the window with preventHeader : true - b.proxy.header is undefined
    Code:
    var shadowsWindow =  Ext.create('Ext.window.Window', {      
            preventHeader : true,       
            border     :  false,
            height      :  600,
            width       :  800,
            resizable  :  false
        });
    shadowsWindow.show();
    The header is displayed.

Thread Participants: 2