PDA

View Full Version : Button on click moves the text



lucia_mgv
18 Nov 2010, 7:37 AM
Hi,

I am rendering some buttons and in Internet Explorer, when I click on them, the text moves down a little and the icon moves up.

This is only happening in IE. Is there anything to avoid this??

matt617
18 Nov 2010, 10:04 AM
can you paste code sample? what versoin of IE?

lucia_mgv
18 Nov 2010, 11:46 PM
I am using IE8.

My code is:

Ext.onReady(function(){
var Login=new Ext.Button({
id:'Login',
text:'Entrar'});


var Viewport=new Ext.Viewport({
id:'Viewport',
layout:'fit',
items:[Login]});
});

I have checked the examples in the ExtJS website and in IE the buttons have the same behaviour. I'm wondering if there is any way to avoid it...