Results 1 to 3 of 3

Thread: Help Icon in Panel Tools config

  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2010
    Posts
    191

    Default Help Icon in Panel Tools config

    I am using the panel 'tools' help to display help messages. I can see that the graphic for this help is in a larger image (xt-3.2.1/resources/images/default/panel/tool-sprites.gif). Is there any way to get a copy of help image by itselft?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791

    Default

    Combining them into a sprite like that it a more efficient use of resources. The tools do it by creating a DIV of exactly the right size and setting that big image as the background image, offset to show the correct tool. You can do exactly the same, see the CSS classes x-tool and x-tool-help.

    If for some reason you really do need that image by itself, open up an image editor and cut it out.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2010
    Posts
    191

    Default thanks!

    Quote Originally Posted by skirtle View Post
    Combining them into a sprite like that it a more efficient use of resources. The tools do it by creating a DIV of exactly the right size and setting that big image as the background image, offset to show the correct tool. You can do exactly the same, see the CSS classes x-tool and x-tool-help.

    If for some reason you really do need that image by itself, open up an image editor and cut it out.
    That answers my question

Similar Threads

  1. Replies: 4
    Last Post: 19 Jan 2010, 5:59 AM
  2. tools config attribute on Panel
    By robertoroberto in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 25 Jul 2009, 8:22 AM
  3. show tip on panel tools icon
    By mxu in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Dec 2007, 6:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •