Glyph-Icons during design time

4 posts, 1 answers
  1. Heiko
    Heiko avatar
    134 posts
    Member since:
    Oct 2012

    Posted 28 Nov 2016 Link to this post

    I like the new Glyph-feature and use it in my recent project. Unfortunately the Glyph-Icons are not visible during design time in VS 2013, I can only see an empty rectangle. What do I have to do so these icons are also visible during design?

    Regards
    Heiko

  2. Answer
    Martin
    Admin
    Martin avatar
    99 posts

    Posted 29 Nov 2016 Link to this post

    Hello Heiko,

    We are aware of this issue and we have logged it in our feedback portal. We have reported this to Microsoft since it is cause by improper resources loading by the design time if the font is referred from the assembly.

    One workaround for that is to add the Controls_WPF.csproj from (../Core/Controls in our source code you can download) to the solution and refer that project instead of the Telerik.Windows.Controls.dll. This should fix the problem with glyphs in design time in our controls. And if you want to see locally defined glyphs only, an easier solution is to add the TelerikWebUI.ttf font file to your solution and refer that as a FontFamily for the elements needed in the current project (the file can be found in ../Core/Controls/Themes/Fonts/ in the source code).

    We are sorry for the inconvenience caused and we are as well looking forward to this being resolved.

    Regards,
    Martin
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
  3. Heiko
    Heiko avatar
    134 posts
    Member since:
    Oct 2012

    Posted 01 Dec 2016 in reply to Martin Link to this post

    Hello Martin,

    thanks for your answer. It is no problem as long as the font appears correct in the compiled UI which it does.

    One question: why didn't you choose a font like font-awesom? It is free, it has lots of beautiful icons and is very well known. Your designers could drink another cup of Latte and do not have to design a new font. ;-)

    Regards
    Heiko

  4. Martin
    Admin
    Martin avatar
    99 posts

    Posted 05 Dec 2016 Link to this post

    Hello Heiko,

    There are several reasons why we have chosen our font instead of a third-party font such as Font Awesome:

    - they do not provide all the icons we need for our controls and we cannot make quick requests for any missing or urgently needed ones;
    - we have this font in development and it is used in several other Progress products as well;
    - it is an internal project, which means there would not be any unexpected changes orbroken scenarios, since we are in direct contact with the team that develops and supports it;
    - Font Awesome have stated in their WPF toolkit that they face the same problem with the glyphs in design-time for VS, the same we have reported to Microsoft;
    - TelerikWebUI is made by us for us

    Third-party font glyphs can still be used in user project of course, but our decision was not to rely so much on a third-party library, as we seek to provide as long-during support for our products as possible with the smallest possible amount of braking changes, which tips the scales significantly in favor of an internal product being used in the default styles of our controls.

    We sincerely hope that this slight inconvenience would be resolved soon enough in VS, as we have tried numerous approaches to display them in design time before reporting a bug to MS, but so far the scenario with a resource in an assembly is not working properly still.


    Regards,
    Martin
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Back to Top