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

no icons shown

3 Answers 267 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 2
Martin asked on 23 Apr 2014, 11:28 AM
Hello

Kendo UI:    2014.1.318
OS:              Windows7 32bit
VS:              2012

As a beginner in mobile app and Kendo UI this might be odd, but I couldn't find the solution myself.

From the examples I implemented the scheduler in the MVVM project that is prepared by opening a new Kendo project in VS.
The app is running. The views, today button and scrolling work.
But the arrow icons are not shown, neither in tablet nor phone mode.
Do I need to add icons or shapes for it? I suppose yes, but which one and where?

Thank you for any help!

Martin 

3 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 25 Apr 2014, 07:20 AM
Hello Martin,

This could happen in case the sprite.png file is missing. Could you please check the browser's console for any 404 errors? 

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Martin
Top achievements
Rank 2
answered on 25 Apr 2014, 09:21 AM
Hello Alexander,

In the meantime I found the solution. As you say, the sprite.png was missing.
The folders MyProject\styles\images or MyProject\kendo\styles\images are the wrong place for the sprite.png.
The correct folder is MyProject\kendo\styles\Default.The sizes and colors by default are irritating.

The filename seems fixed and the offset within the sprite.png also.
So, how can I change the sizes of the icons and their colors dynamically?

Regards,
Martin
0
Alexander Popov
Telerik team
answered on 28 Apr 2014, 12:23 PM
Hi Martin,

Changing the size and color of the icons is not supported out of the box. Resizing could be done by overriding the default CSS properties of the desired class. For example:  
<style>
  .k-warning{
    zoom: 2;
  }
</style>
<span class='k-icon k-warning'></span>

Changing the color is best achieved by modifying the hue of the sprite.png file.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Martin
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
Martin
Top achievements
Rank 2
Share this question
or