Results 1 to 2 of 2

Thread: Explicitly set Ext.Window body size

  1. #1
    Sencha User ChrisR's Avatar
    Join Date
    Apr 2007
    Vote Rating

    Question Explicitly set Ext.Window body size

    Is there a way to explicitly set the window's body size and have the window component adapt to that? There is the setSize() method on Ext.Window but that only sets the whole window size. I could calculate the extra space the window frame, button footer, etc ... take but that seems a rather unreliable way of calculating dimensions.
    Webdevelopment : Skyrocket Concepts

  2. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Vote Rating


    Would autoHeight: true and autoWidth: true do what you want? (assuming that all children of the window explicitly declare a height/width).

    Note that I've had problems in Google's Chrome browser when autoWidth: true was set, but otherwise IE and Firefox played nice.

Similar Threads

  1. Body Font-size
    By julianomoreira in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 20 Sep 2010, 1:44 PM
  2. Replies: 3
    Last Post: 27 Jul 2010, 10:47 AM
  3. Replies: 1
    Last Post: 20 Aug 2008, 3:38 AM
  4. Any way to explicitly set post body with Ajax.request?
    By SteveEisner in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 17 Jul 2007, 6:53 AM
  5. basicdialog without buttons -- invalid body size & posit
    By vtswingkid in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 23 Feb 2007, 7:39 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