8 May 2011 11:08 PM #1
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
9 May 2011 6:36 AM #2
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.
By julianomoreira in forum Sencha Touch 1.x: DiscussionReplies: 0Last Post: 20 Sep 2010, 1:44 PM
By draduc in forum Ext 3.x: BugsReplies: 3Last Post: 27 Jul 2010, 10:47 AM
By Surgeon in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 20 Aug 2008, 3:38 AM
By SteveEisner in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 17 Jul 2007, 6:53 AM
By vtswingkid in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 23 Feb 2007, 7:39 AM