osullivj
22 Nov 2011, 1:43 AM
Hi
I am starting out with extjs and would like to right align a collapsible window I am creating. I can specifically set the x,y but would like to be able to cater for different screen resolutions so that it is down 75 and 200px from the right
Is this possible
Thanks,
J
var myLocationProfile = new Ext.Window({
width : 200,
height : 250,
x : 900,
y : 75,
title : 'Location Profile',
collapsible : true,
floating : true,
renderTo : Ext.getBody(),
html : 'Easy:Yes'
});
myLocationProfile.show();
I am starting out with extjs and would like to right align a collapsible window I am creating. I can specifically set the x,y but would like to be able to cater for different screen resolutions so that it is down 75 and 200px from the right
Is this possible
Thanks,
J
var myLocationProfile = new Ext.Window({
width : 200,
height : 250,
x : 900,
y : 75,
title : 'Location Profile',
collapsible : true,
floating : true,
renderTo : Ext.getBody(),
html : 'Easy:Yes'
});
myLocationProfile.show();