PDA

View Full Version : TextField.setHieght(100); Doesn't work in ie?



mhmda
30 Jan 2013, 10:26 AM
I use this code to set a textfield height, but it doesn't work in IE (8),
Any one know why?

friend
30 Jan 2013, 10:33 AM
The code below works as expected for me on I.E. 8. Maybe you have a CSS or layout issue?:



var xx = Ext.create('Ext.window.Window', {
bodyPadding: 5,
height: 150,
width: 400,
items: [{
xtype: 'textfield',
fieldLabel: 'Last Name',
name: 'lastName',
width: 250
}]
}).show();

xx.down('textfield').setHeight(100);