PDA

View Full Version : Ext.panel.Tool tooltips not displaying.



gbegley
25 Oct 2011, 7:59 AM
Tool tips don't seem to be working on Ext.panel.Tool components.
In the following code example, the button renders a tool tip on mouseover, however the top bar tool and the header tool both do not. The docs for Ext.panel.Tool indicate a config attribute for 'tooltip' but I haven't been able to make one show up.
Have I missed something?

I am using
ExtJS version '4.0.2a' with
Chrome 16.0.912.4 dev-m

Test code:


Ext.define('Macs.panels.Test', {
extend : 'Ext.panel.Panel',
title: 'Tool tips Test',
defaults: {bodyStyle:'padding:40px',margin:20},
tools : [
{type:'refresh',tooltip:'tools tool refresh'}
],
tbar : [
{xtype:'tool', type:'refresh',tooltip:'tbar Tool refresh'},
{xtype:'button',text:'Refresh', tooltip:'tbar Button refresh'}
],
items: {html:'Lorem Ipsum'}
});

JambaFun
25 Oct 2011, 9:46 AM
Hi,

I experienced the same problem in 4.0.2a. Upgrading to 4.0.7 solved it. Also using Chrome.

Best regards

gbegley
25 Oct 2011, 11:44 AM
Thanks for the suggestion.