Results 1 to 2 of 2

Thread: [Solved]Can't a window just size itself!

  1. #1
    Ext JS Premium Member Elijah's Avatar
    Join Date
    Nov 2009

    Default [Solved]Can't a window just size itself!

    I need to create a window that will just size to whatever is in it as the content may be wide or narrow.
    How do I get it to do that?
    Or does it not allow for this?
    Last edited by Elijah; 5 Aug 2010 at 6:33 AM. Reason: I dont like that answer

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    No, Ext.Window will not do that automatically.

    You will have to:
    - Show the window
    - Get the size of the body
    - Add the size of the frame
    - Update the size of the window

Similar Threads

  1. panel size = window size?
    By TheMonolith in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 19 Feb 2010, 12:06 AM
  2. Replies: 10
    Last Post: 10 May 2009, 8:22 AM
  3. maximum size of a window
    By tlili in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 20 Apr 2009, 6:59 AM
  4. dynamic window size
    By nthamizhan in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 5 Aug 2008, 2:52 AM
  5. Replies: 3
    Last Post: 13 May 2008, 12:33 AM

Posting Permissions

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