PDA

View Full Version : Tooltip in button



lucia_mgv
16 Nov 2010, 3:02 AM
Hi,

I have a problem rendering the tooltip of a button. I have specified the text that I want to render but i don't know why is not doing properly.

Here is the code:


var Help=new Ext.Button({
id:'Help',
height:18,
icon:'./img/cmd/Help.png',
tooltip:'Abrir la ayuda de esta ventana',
cls:'NormalOptions',
overCls:'HoverOptions',
});

var TitleToolbar=new Ext.Toolbar({id:'TitleToolbar',
width:22,
height:18,
buttonAlign:'right',
cls:'LabelToolbarsNormal',
items:[Help]
});
Is there anything else that I should do?

Lucía

lucia_mgv
16 Nov 2010, 5:27 AM
I was missing the following:


Ext.QuickTips.init();