Titlebar system buttons strange icons

4 posts, 1 answers
  1. Patrick
    Patrick avatar
    33 posts
    Member since:
    Aug 2018

    Posted 24 Oct 2018 Link to this post

    Hello,

     

    I am currently creating a new style template based on the Material template (Material.tssp).

    I have changed several things like PrimaryFill, Fonts etc. I have also changed the Titlebar color but after one of these changes the minimize, maximize and close icon got replaced by a location, hang-phone and questionmark icon (see this video )

    Does anybody have a solution for this?

    The altered .tssp-file can be downloaded here

    Grtz Patrick Vossen

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3331 posts

    Posted 25 Oct 2018 Link to this post

    Hello, Patrick, 

    The provided sample video and custom theme are greatly appreciated. After opening the theme in Visual Style Builder, I have noticed that there are icons applied to the system buttons which are displayed as squares on my end:



    It seems that you are using glyphs from the TelerikWebUI custom font for the system buttons. However, the WhiteText repository sets the Font property to SegoeUI of the respective button element. In this case the CustomFont won't be respected. After I changed the repository to not manage the Font property and leave the CustomFont set to TelerikWebUI, the glyph is displayed as expected.

    I would recommend you to have a look at the following KB article demonstrating an easy way to assign a certain glyph from a custom font as an icon: https://docs.telerik.com/devtools/winforms/knowledge-base/insert-glyphs-easily Make sure that you only set the CustomFont in order to properly display the image.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Patrick
    Patrick avatar
    33 posts
    Member since:
    Aug 2018

    Posted 25 Oct 2018 Link to this post

    Hi Dess,

     

    Thanks for the explanation.

    I had never the intention to change glyphs. I am going to investigate in the original theme file what I have done "wrong", and caused this mistake.

    I guess changing one of the repositories had a wanted behavior on most of the controls but a negative effect on some controls ;-(

     

    Grtz Patrick

  4. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3331 posts

    Posted 26 Oct 2018 Link to this post

    Hello, Patrick, 

    You can refer to the screenshot from my previous post. You will notice that there is a glyph assigned for the Text property. It has effect if the CustomFont property is set to a font that has the specific glyph icon. In order to keep it, make sure that you don't set the Font property with any of the applied repository items. 

    I hope this information helps. If you need any further assistance please don't hesitate to contact me.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top