1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    27
    Vote Rating
    1
    webxells is on a distinguished road

      0  

    Default Unanswered: ExtJS resizable Container/Panel don't change position, resize from left/top

    Unanswered: ExtJS resizable Container/Panel don't change position, resize from left/top


    If I have something like this:
    PHP Code:
    var container Ext.create('Ext.container.Container', {
        
    plain:true,
        
    width 300,
        
    height300,
        
    html'Super',
        
    cls:'container',
        
    renderTo:Ext.getBody(),
        
    draggable:true,
        
    closable:false,
        
    resizable:{
            
    pinned:true,
            
    dynamic:true
        
    }
    }).
    center(); 

    the container is "resizable", but will only resize on the right and bottom (south, east) side. If I resize the container on the left or top side, the container will not move, it stands on the same position. How to deal with that? If I take a window it change the position too.For example:


    PHP Code:
    var win Ext.create('Ext.window.Window', {
        
    plain:true,
        
    width 300,
        
    height300,
        
    html'Super',
        
    cls:'container',
        
    renderTo:Ext.getBody(),
        
    draggable:true,
        
    closable:false,
        
    resizable:{
            
    pinned:true,
            
    dynamic:true
        
    }
    }).
    center().show(); 

    Does the job. But I will use a container. How to do this?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can can add floating: true to allow for this.

    Scott.

  3. #3
    Sencha User
    Join Date
    Feb 2010
    Posts
    27
    Vote Rating
    1
    webxells is on a distinguished road

      0  

    Default Thx

    Thx


    Indeed it's floating . I was searching for a long time, googling it, but no results.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi