PDA

View Full Version : qtip not inheriting from Ext.QuickTips.init()



end-user
4 Jun 2008, 10:13 AM
When I have a tool with a qtip defined, it does not inherit attributes that I assign in the QuickTips.init(). Is there a trick to this?
Ext.QuickTips.init({minWidth:200, interceptTitles:true});
...
tools:[
{ id:'plus'
,qtip:{
text:'new request'
}
,handler: function(){
Ext.getCmp("openReviewsPanel").load({
url:...
,text:"loading..."
})
}
}
]

AlxH
4 Jun 2008, 10:45 AM
The manual says the following:


// Init the singleton. Any tag-based quick tips will start working.
Ext.QuickTips.init();

// Apply a set of config properties to the singleton
Ext.apply(Ext.QuickTips.getQuickTip(), {
maxWidth: 200,
minWidth: 100,
showDelay: 50,
trackMouse: true
});

end-user
4 Jun 2008, 10:55 AM
Oooh. :"> Thanks; I'll go RTFM.