View Full Version : How to make Ext.window expand upwards

22 Apr 2011, 8:26 AM
Can anyone help on how to make Ext.window expand upwards, if it is possible?

24 Apr 2011, 6:03 AM
You're more apt to get help if you post in the proper place! What version of the framework? What do you mean by expand upwards? Do you mean increase in height? That will have to happen by moving the element upwards while simultaneously animating its expansion.

25 Apr 2011, 4:35 AM

new Ext.window.Window({
title: 'Test',
width: 400,
height: 200,
bbar: [{
text: 'Expand Upwards',
handler: function(b) {
var w = b.up('window'),
y = w.getPosition()[1],
h = w.getHeight();

to: {
y: y - 30,
height: h + 30