Results 1 to 3 of 3

Thread: Window does not restore after maximize

  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default 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
    3
    Vote Rating
    0
      0  

    Default 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
    6,154
    Answers
    501
    Vote Rating
    249
      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();

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •