This is a migrated thread and some comments may be shown as answers.

Support for Sprites?

2 Answers 36 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 24 Apr 2014, 07:55 PM
Hi,

I'd like to know if the Ribbonbar has any support for using sprites instead of images directly?  And if not if there were any plans to add support in a future release.

Thanks!
Richard

2 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 28 Apr 2014, 06:17 PM
Hello, Richard.

It's very easy to add a sprite to the ribbon:

1) because the ribbon requires an image (as of now) we specify an empty image
2) we add class name to the button
3) we add the styles

Just like sample page I am attaching to this ticket.

Regards,
Ivan Zhekov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Richard
Top achievements
Rank 1
answered on 02 May 2014, 09:16 PM
Thank you Ivan!
Tags
RibbonBar
Asked by
Richard
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Richard
Top achievements
Rank 1
Share this question
or