Hybrid View

Set Ext.window.Window height and width via CSS

Is there a way to set the height and width of the Window using CSS? The values I set on my class just get overridden by element.style attributes. If I attempt to set them using max-height/width or use !important the window is not laid out correctly.

I would not recommend setting component dimensions via CSS.
Instead you can extend Ext.window.Window giving it a set height and then instantiate your derived class. See the Fiddle below for an example:

Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com