1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    pixelrevision is on a distinguished road

      0  

    Default Unanswered: Scaling a Ext.tab.Panel to fill it's host

    Unanswered: Scaling a Ext.tab.Panel to fill it's host


    I am having an issue getting an Ext.tab.Panel to fill it's host view. When I add it to the viewport directly all of the contents in each card scale to fit to the screen, but when I add it into an Ext.Panel with fullscreen set to true all of the contents of the cards do not scale to fill up the screen without manually setting the height on it. Does anyone know of a solution for this? I don't want to scale the height if possible as it breaks autorotation.

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,169
    Vote Rating
    28
    Answers
    83
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Default


    You need to setup the layout on the parent container.

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
    pixelrevision is on a distinguished road

      0  

    Default


    Thank you. I tried that and layout: "fit" seemed to be the best solution. Unfortunately the content views in each tab panel stay collapsed unless I set the height of the tab panel to be a pixel value.

Tags for this Thread