1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Answers
    1
    Vote Rating
    0
    patelsan is on a distinguished road

      0  

    Exclamation Answered: Container - inner Div doesn't have height atribute

    Answered: Container - inner Div doesn't have height atribute


    Hello,
    My view extends Container, I am inserting NestedList in this container. I would like my NestedList to take 100% height. The problem is - Container generates another Div with class "x-inner" which doesn't have Height atribute in style. I have tried applying all Layout and Scrollable options to Container, however this auto-generated Div as a part of Container is not adding any Height attribute in style. This prevents my NestedList from rendering as height remains 0, because its parent doen't have any Height attribute. I have spent few hours on this, really appreciate your thoughts on this. (for further clarification about my layout - My Container is pushed to the NavigationView and this NavigationView is a TabPanel item).

    Thanks in advance for any hints.

  2. Give the container fit layout.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,784
    Answers
    3465
    Vote Rating
    833
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Give the container fit layout.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Answers
    1
    Vote Rating
    0
    patelsan is on a distinguished road

      0  

    Default


    Mitchell, I did tried earlier with 'fit' layout for Container. I have a nested layout (TabPanel > NavigationView > Container > NestedList), could that be causing this? You can see DOM of my view in following screenshot, any thoughts? Thanks in advance.SenchaNestedList.jpg

  5. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Answers
    1
    Vote Rating
    0
    patelsan is on a distinguished road

      0  

    Default


    Mitchell, my bad, after replying I realized that I am using Ext.define and specifying layout at the root level instead of under the config. It is working as expected now. I am marking your reply as answer, Thank You.

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