I have the following code:
Code:
var win = new Ext.Window({
width:200,
height:200,
autoScroll: true,
closable: false,
border: false,
shadow: true,
draggable: false
});
win.show();
And I want to use css styles to set the width and height, look the follwoing code:
Code:
var win = new Ext.Window({
cls: 'test-class',
autoScroll: true,
closable: false,
border: false,
shadow: true,
draggable: false
});
win.show();
css style class:
Code:
.test-class {
height:200px;
width:200px;
background:blue;
}
But the height and width are not set, instead the background yes.
Can you let me know how can I set the width and height through css style classes?
Thank you in advance.