Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #11
    Touch Premium Member allistar's Avatar
    Join Date
    May 2008
    Location
    Mount Maunganui, Bay of Plenty, New Zealand
    Posts
    42
    Vote Rating
    0
    allistar is on a distinguished road

      0  

    Default


    I have solved this in an acceptable manner with a Panel plugin, the source of which is here:

    Code:
    PET.Plugins.PanelExtender = function(component, config) {
        Ext.apply(this, config);
    
        // call parent
        PET.Plugins.PanelExtender.superclass.constructor.call(this);
    };
    
    
    Ext.extend(PET.Plugins.PanelExtender, Ext.util.Observable, {
    
        init: function(panel)  {
            this.panel = panel;
    
            if (panel.collapsed)
                this.startedCollapsed = true;
            //listen for the "expand" event
            panel.on({
                expand:{scope:this, fn:function() {
                    //find all grids and refit their columns
                    if (this.startedCollapsed) {
                        this.processExpand();
                    }
                }}
            });
    
        },
    
        processExpand: function() {
            this.panel.cascade(this.processChild, this);
        },
    
        processChild: function(node) {
            if (node.getXType() == 'grid')
                node.getView().fitColumns(false, false, 0);
        }
    });
    There is a very slight visual effect of the table columns widening, but this is acceptable for the time being.

    Thanks for the help in getting this issues solved. I expect to extend this plug-in in the future as I have seen other layout problems when panels are started collapsed and then expanded.

  2. #12
    Touch Premium Member allistar's Avatar
    Join Date
    May 2008
    Location
    Mount Maunganui, Bay of Plenty, New Zealand
    Posts
    42
    Vote Rating
    0
    allistar is on a distinguished road

      0  

    Default


    I have discovered that I get more favourable results by calling GridView.autoExpand instead of GridView.fitColumns.

Thread Participants: 2