Threaded View

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9583 in 4.2.1.883.
  1. #1
    Sencha User
    Join Date
    Sep 2012
    Location
    Jakarta, Indonesia
    Posts
    9
    Vote Rating
    0
    nogun is on a distinguished road

      0  

    Default window maximize problem on desktop (example from the package) with tbar

    window maximize problem on desktop (example from the package) with tbar


    I added a tbar in desktop (example from the package) but when the window is maximized, the tbar is behind the window.

    *EDIT BY SLEMMON
    Tested on 4.2 and 4.2.1.763

    Maximizing the child window with constrainHeader maximizes the window relative to the owning panel's el.
    Maximizing the child window with constrain maximizes the window relative to the owning panel's bodyEl.

    Code:
    var constrainedWin, constrainedWin2;                Ext.create('Ext.container.Viewport', {    layout: 'fit'    , items: [{        xtype: 'panel'        , dockedItems: [        {            dock: 'top',            xtype: 'toolbar',            height: 30,            items: [                {xtype:'tbtext', text:'Top Toolbar'}            ]        },        {            dock: 'bottom',            xtype: 'toolbar',            height: 30,            items: [                {xtype:'tbtext', text:'Bottom Toolbar'}            ]        }    ],    items: [        constrainedWin = Ext.create('Ext.window.Window', {            title: 'Window with constrainHeader',            width: 600,            height: 400,            x: 50,            y: 50,            constrainHeader: true,            maximizable: true,            html: 'This is a window with constrainHeader true'            , tbar: [{                text: 'Button'            }]        }),                constrainedWin2 = Ext.create('Ext.window.Window', {            title: 'Window with constrain',            width: 600,            height: 400,            constrain: true,            maximizable: true,            html: 'This is a window with constrain true'            , tbar: [{                text: 'Button'            }]        })    ]    }]});constrainedWin.show();constrainedWin2.show();
    Last edited by slemmon; 24 Apr 2013 at 9:40 AM. Reason: added additional test notes and inline test case

Thread Participants: 2