1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    7
    Vote Rating
    0
    danyric is on a distinguished road

      0  

    Question add tooltip on a tabPanel

    add tooltip on a tabPanel


    Hi,

    Is there a way to add a tooltip on each tabItem of a TabPanel component, as when the mouse is over the tabItem title, a tooltip appeared.
    I've tried to add a tooltip on a tabItem but the tooltip appear only when the item is clicked, and not when the mouse is over the title of the tabitem.

    Thanks in advance for your help.
    ed

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I've tried to add a tooltip on a tabItem but the tooltip appear only when the item is clicked
    How have you added this? Tooltips implemented by GXT never show onclick.

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    7
    Vote Rating
    0
    danyric is on a distinguished road

      0  

    Default


    Quote Originally Posted by sven View Post
    How have you added this? Tooltips implemented by GXT never show onclick.
    Hi sven, I would like a behaviour as described in this picture
    tooltiptabitem.png
    but it's seems that 's not possible to do this simply.
    by example, the code below, doesn't implement this behaviour.
    PHP Code:
        final TabPanel lTabs = new TabPanel();

        
    TabItem infosGenTabItem = new TabItem();
        
    infosGenTabItem .setToolTip(new ToolTipConfig("Information""Prints the current document"));
        
    lTabs.add(infosGenTabItem ); 
    An idea how I can implement it, will be very appreciate.

    brgds Ed

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Have you tried to directly set it to the header?

    Code:
    tabItem.getHeader() .setToolTip(new ToolTipConfig("Information", "Prints the current document"));

  5. #5
    Sencha User
    Join Date
    May 2010
    Posts
    7
    Vote Rating
    0
    danyric is on a distinguished road

      0  

    Default


    Quote Originally Posted by sven View Post
    Have you tried to directly set it to the header?

    Code:
    tabItem.getHeader() .setToolTip(new ToolTipConfig("Information", "Prints the current document"));
    I've just tried your code above, and it works well, thanks a lot for your help sven. I did not mention there's an header component.

    ed

Similar Threads

  1. Complex ToolTip attached to a TabPanel
    By MakFracta in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 21 Oct 2009, 8:16 AM
  2. Tooltip from a Tab in TabPanel
    By ItsMee in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 23 Jun 2008, 10:48 AM
  3. how can i add a tooltip on the treeNode?
    By joshokn in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 16 Apr 2007, 10:16 PM
  4. how to add tooltip to an element?
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 3 Mar 2007, 10:19 PM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi