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
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    You need to setup the layout on the parent container.

  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.

Thread Participants: 1

Tags for this Thread