Results 1 to 3 of 3

Thread: How to resize the viewport to show all of its content?

  1. #1
    Sencha User
    Join Date
    Sep 2017
    Posts
    2

    Default How to resize the viewport to show all of its content?

    Hi,

    I am using ExtJS 6.5.3 Modern Toolkit.
    Currently, I try to integrate an ExtJS application into Liferay Portal.

    Does anybody know how to resize the viewport to show all of the fields within its body?
    Usually, the viewport sizes 100% in relation to the space given by the parent div. I need to size the viewport in relation to its content, so that it grows in height when a taller view is shown.

    Can anybody help?

    Thank you in advance!

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    You just need a Container, not a Viewport.

  3. #3
    Sencha User
    Join Date
    Sep 2017
    Posts
    2

    Default

    Quote Originally Posted by Animal View Post
    You just need a Container, not a Viewport.
    What do you mean? Overriding the Ext.application to use a container instead of the viewport?
    I haven't found a way to load an Ext.Component without hanging it onto the Viewport in Modern Toolkit...

Similar Threads

  1. Replies: 3
    Last Post: 28 Jun 2013, 5:31 AM
  2. [NOREPRO] 'Undefined error' for hidden show-by popup on Viewport resize
    By natb in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 27 Jun 2013, 4:07 AM
  3. Replies: 6
    Last Post: 17 Jan 2013, 12:05 AM
  4. How resize window to it's content sizes before show?
    By eurobax in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 28 Jan 2011, 10:56 AM
  5. Resizable resize, but doesn't show the panel content[Solved]
    By Daniels in forum Ext 3.x: Help & Discussion
    Replies: 9
    Last Post: 14 Jan 2010, 2:46 AM

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
  •