BantuKumar Posted February 16, 2017 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! Quote
Administrators Farshad Mohajeri Posted February 19, 2017 Administrators Posted February 19, 2017 Image components only make one trip to get the image. Quote
BantuKumar Posted February 19, 2017 Author 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? Quote
Administrators Farshad Mohajeri Posted February 20, 2017 Administrators Posted February 20, 2017 Hi What is a sprite image exactly? Quote
GerhardV Posted February 20, 2017 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 Quote
BantuKumar Posted February 21, 2017 Author 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.