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):
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?
new Ext.Toolbar('foo',
{
text : 'la la la',
tooltip: 'help for you',
handler : my_handler,
enableToggle : true,
pressed : false,
toggleGroup : 'nav'
});

|
#2
|
|
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
|
|
Did you turn on QuickTips somewhere in your page?
Ext.QuickTips.init(); ![]() |
|
#4
| |
|
Quote:
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
|
|
That's a known issue that didn't make this rev. I will be fixing it shortly.
![]() |
用户在使用ExtJS创建带有文字的按钮时遇到Tooltip显示问题,仅在图标上悬停时Tooltip才出现。通过讨论发现需要启用QuickTips才能使Tooltip正常工作。
678

被折叠的 条评论
为什么被折叠?



