1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    23
    Vote Rating
    0
    fecund is on a distinguished road

      0  

    Default Tooltips on text-only buttons?

    Tooltips on text-only buttons?


    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):
    Code:
    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. #2
    Ext JS Premium Member neongrau's Avatar
    Join Date
    Mar 2007
    Posts
    249
    Vote Rating
    0
    neongrau is on a distinguished road

      0  

    Default


    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. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Did you turn on QuickTips somewhere in your page?

    Ext.QuickTips.init();

  4. #4
    Ext JS Premium Member neongrau's Avatar
    Join Date
    Mar 2007
    Posts
    249
    Vote Rating
    0
    neongrau is on a distinguished road

      0  

    Default


    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. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


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

Similar Threads

  1. Dialog buttons
    By j555 in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 18 Dec 2006, 1:14 PM
  2. Grid Header Tooltips
    By tryanDLS in forum Community Discussion
    Replies: 7
    Last Post: 28 Nov 2006, 5:11 AM

Thread Participants: 2