PDA

View Full Version : Ext.msg.alert IE issue



rothaar
4 May 2009, 5:29 PM
Helloooo all. Just installed the new Ext 3.0 RC, and I've been tinkering with a little side project. My newest alert box looks... odd.

You can view the actual page at www.magicite.com/pickem/pickem.asp

Login with any username and any password to see the issue.

The code block looks like it should be pretty straightforward...


var login = new Ext.FormPanel({
labelWidth: 80,
frame: true,
title: 'Please Login',
defaultType: 'textfield',
monitorValid: true,
items: [
{
fieldLabel:'Username',
id:'loginUsername',
allowBlank:false
},
{
fieldLabel: 'Password',
id: 'loginPassword',
inputType: 'password',
allowBlank: false
}
],

buttons: [{
text: 'Login',
formBind: true,
handler: function(){
Ext.Msg.alert('Test', 'Test');
}
}]
});

But as you can see by going to the link above (IE 7), it looks goofy. The divs in the alert box just aren't sizing properly. In all other broswers it looks fine, but IE7 looks bananas.

Is this due to:
* Me uploading something wrong in the Ext 3.0 RC?
* IE being batpoo crazy as per usual?
* Some problem in my JS that I somehow overlooked?

evant
4 May 2009, 8:32 PM
There's a bug that has since been fixed. Check out the bug forum for a fix.