BantuKumar Posted February 16, 2017 Share Posted February 16, 2017 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 More sharing options...
Administrators Farshad Mohajeri Posted February 19, 2017 Administrators Share Posted February 19, 2017 Image components only make one trip to get the image. Link to comment Share on other sites More sharing options...
BantuKumar Posted February 19, 2017 Author Share Posted February 19, 2017 Image components only make one trip to get the image. Okay, I will verify this again but what if I want to use image sprite? Is there a way to do so? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 20, 2017 Administrators Share Posted February 20, 2017 Hi What is a sprite image exactly? Link to comment Share on other sites More sharing options...
GerhardV Posted February 20, 2017 Share Posted February 20, 2017 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. 1 Link to comment Share on other sites More sharing options...
BantuKumar Posted February 21, 2017 Author Share Posted February 21, 2017 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now