1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    30
    Vote Rating
    0
    jfb_1973 is on a distinguished road

      0  

    Default Unanswered: Correct way to size a panel

    Unanswered: Correct way to size a panel


    I have a panel with an hbox layout and two child items. Basically I want to the panel to size itself (height-wise) based on the child items. The child items do not have a fixed height.

    If do not set a height on my panel, it collapses to a single pixel in height. Is there something I'm doing wrong here? Currently I'm working on writing a listener which checks the height of the child items and resizes the parent based on the tallest child. This seems like a lot of work for something that should be simple.

    Any help is appreciated.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Answers
    13
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It should Just Work on 4.1

    As long as the child items yield a height upon layout, then the Panel should acquire their height.

    Of course we need to see code.

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