1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    2
    Vote Rating
    0
    icexdev is on a distinguished road

      0  

    Default Unanswered: Window does not restore after maximize

    Unanswered: Window does not restore after maximize


    In functions "maximize" and "restore" variable "tools" is empty:

    Code:
        maximize: function(animate) {
            var me = this,
                header = me.header,
                tools = me.tools,
      changed;
      ...
    I suggest do change code:

    Code:
        maximize: function(animate) {
             var me = this,
                 header = me.header,
                 tools = (header) ? header.tools : me.tools,
                 changed;

  2. #2
    Sencha User
    Join Date
    May 2013
    Posts
    2
    Vote Rating
    0
    icexdev is on a distinguished road

      0  

    Default To reproduce

    To reproduce


    It's reproduces when I invoke method "window.setTitle" before "window.show"

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,035
    Answers
    390
    Vote Rating
    185
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Good news - looks like this is fixed in 4.2.1 Beta (tested on the latest Nightly .856).

    Code:
    var win = Ext.widget('window', {
        title: 'Something',
        height: 200,
        width: 200,
        maximizable: true
    });
    
    
    win.setTitle('Something New');
    
    
    win.show();

Thread Participants: 1

Tags for this Thread