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

Titlebar system buttons strange icons

3 Answers 84 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 24 Oct 2018, 12:37 PM

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

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Oct 2018, 09:31 AM
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.
0
Patrick
Top achievements
Rank 1
answered on 25 Oct 2018, 11:48 AM

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

0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Oct 2018, 10:48 AM
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.
Tags
TitleBar
Asked by
Patrick
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or