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

Hi

 

What is a sprite image exactly?

 

C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.2.5.1763\resources\themes\images\access\tools

 

FMSoft itself uses few sprite image and you can see some examples of sprite images in above location

 

Thanks.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...