Jump to content

Can we use sprite image for setting icon of toolbar menus


BantuKumar

Recommended Posts

Hi,

 

Is there any possibility that I can use image sprite to assign image icon to my buttons or toolbar menus. I want only one server trip to download icons for all my controls on the form. Initially I thought of UniImageList will do this for but no it does not. Imagelist generates multiple server trips to download images assigned to it.

 

Can anyone suggest a resolution for my requirement!

 

 

Thanks!

Link to comment
Share on other sites

Some of the Sencha components already make use of sprite images. You can look at the checkbox and radio components for examples, you would need to alter the CSS accordingly though to position the image correctly.

 

@Farshad it is just a number of icons(images) in one image file...if I understand him correctly for what he is looking for.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...