Tooltips on text-only buttons? - Ext JS

I wanted to use the tooltip as help on a text-only button, but it looks like tooltips only render when hovering over the icon. I'm creting buttons with code like this (using a2r6):
new Ext.Toolbar('foo', 
    {
	text : 'la la la',
	tooltip: 'help for you',
	handler : my_handler,
	enableToggle : true,
	pressed : false,
	toggleGroup : 'nav'
    });
Are tooltips-on-a-text-button supported? If so, can I get an example... if not, should it be, or is that abusing the UI?
  # 2  
03-09-2007, 08:02 AM

i can't see any tooltips in my app as well, only place i see them are in the menu example.

/me wonders where the magic switch is to turn them on :S
  # 3  
03-09-2007, 05:07 PM

Did you turn on QuickTips somewhere in your page?

Ext.QuickTips.init();
  # 4  
03-10-2007, 08:31 AM

Quote:
Originally Posted by jacksloc
Did you turn on QuickTips somewhere in your page?

Ext.QuickTips.init();
ah, missed that one.

btw. have you already noticed that in FF elements with quicktips on the very bottom of the browser window appear below the mouse-arrow and therefore trigger the mouseout event causing them to toggle on/off continuously? i guess if they would go a few more pixels to the top and/or right they'll work better.

and in IE7 they don't seem to work all the time, sometime i have to mouseover a few times to see them.
  # 5  
03-10-2007, 08:52 AM

That's a known issue that didn't make this rev. I will be fixing it shortly.

你可能感兴趣的:(UI,ext,Go)