1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    10
    Vote Rating
    0
    pk69com is on a distinguished road

      0  

    Default [FIXED] Ext.Panel autoHeight question

    [FIXED] Ext.Panel autoHeight question


    Good day, everyone.

    I've got a quick question regarding an autoHeight option for Ext.Panel component.
    I'm using the following code
    Code:
    // define new panel
    var panel = new Ext.Panel({
    	border: false,
    	autoHeight: true,
    	renderTo: Ext.get('applicationBody'),
    	items: {}
    });
    
    // define some form
    var form =  new Ext.FormPanel({
            title: false,
            frame: false,
            fieldDefaults: {
                labelWidth: 110,
                labelStyle: 'padding-left:4px'
            },
            bodyPadding: 10,
            items: [...],
            buttons: [{
                text: 'Save',
            }]
        });
    
    // injecting form into the panel	
    panel.add(form).doLayout()
    Maybe I'm doing something wrong, but form isn't visible. I checked with FireBug and it shows that panel height set to 2px and because of overflow:hidden I couldn't see the form.

    Please, help!

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    If you change the doLayout() to doComponentLayout() it will work for now. Next release you shouldn't need either, add currently triggers the doLayout and I'm fixing it to do a component layout when necessary.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    chaoszero6 is on a distinguished road

      0  

    Default


    hi, i used doComponentLayout() it is working properly. but it shows error in firebug.

Similar Threads

  1. [FIXED][3.2.1] Element.autoHeight() doesn´t exist
    By defcon1 in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 5 May 2010, 6:48 AM
  2. [FIXED-202] HtmlEditor - Source Edit mode - autoHeight
    By archmisha in forum Ext 3.x: Bugs
    Replies: 5
    Last Post: 11 Feb 2010, 5:51 PM
  3. autoheight in panel
    By tomalex0 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 7 Aug 2009, 8:00 AM
  4. Replies: 4
    Last Post: 5 Mar 2009, 2:16 PM
  5. Newbie: autoHeight on DIV element question
    By ry.extjs in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 Jan 2008, 2:49 PM

Thread Participants: 2

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..."