Results 1 to 3 of 3

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

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    5
    Vote Rating
    0
      0  

    Default 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 User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102
    Vote Rating
    87
      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
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •