1. #1
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
    Arno.Nyhm is on a distinguished road

      0  

    Default RE: How to create a custom tooltip icon?

    RE: How to create a custom tooltip icon?


    i can not post in the premium threads... so i answer here. maybe some place a backlink from there to this thread.


    How to create a custom tooltip icon?

    http://www.extjs.com/forum/showthrea...806#post392806


    Quote Originally Posted by cpopp View Post
    I want to use a custom image as a rollover target to display a tooltip. The image will be next to a SimpleComboBox in a FormPanel. I don't want to use an IconButton because I don't want it to be clickable.

    Any suggestions on how to do this?

    Thanks

    you can wrap it in a WidgetComponent and use there setToolTip:

    PHP Code:
            Image folderImage IconHelper.createPath("lib/gxt-2.0/resources/images/default/tree/folder.gif").createImage();
            
    WidgetComponent folderImageWidgetComponent = new WidgetComponent(folderImage);
            
    folderImageWidgetComponent.setToolTip("blabla");
            
    formPanel.add(folderImageWidgetComponent); 
    or create a plain Html widget and place there the img as html and with a qtip tag: <img src="xxx" qtip="yyy">
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

  2. #2
    Ext GWT Premium Member
    Join Date
    Aug 2009
    Location
    Kensington, MD
    Posts
    29
    Vote Rating
    0
    cpopp is on a distinguished road

      0  

    Default


    You are the best. Thanks for the quick answer. I'll try it out today.

    How can we get you into the premium forums?
    Software Developer
    Helm Point Solutions, Inc.

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2009
    Location
    Kensington, MD
    Posts
    29
    Vote Rating
    0
    cpopp is on a distinguished road

      0  

    Default


    Your solution worked perfectly. My project has an image bundle. The .createPath() method returns an AbstractImagePrototype, so I just needed to use the .createImage() method on the actual AbstractImagePrototype instead using the .createPath() method.

    Thanks again.
    Software Developer
    Helm Point Solutions, Inc.

  4. #4
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
    Arno.Nyhm is on a distinguished road

      0  

    Default


    Quote Originally Posted by cpopp View Post
    Your solution worked perfectly. Thanks again.
    :-) u r welcome :-)



    Quote Originally Posted by cpopp View Post
    How can we get you into the premium forums?
    i dont know ...
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

Thread Participants: 1

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