RadGridView font doesn't change/update with specific theme

1 Answer 19 Views
Form GridView Themes and Visual Style Builder
João
Top achievements
Rank 1
Iron
Iron
Iron
João asked on 05 Jun 2024, 10:18 AM

Hello!

I was trying to upgrade several programs to have the font connected to the program size ("dynamic" font). I wasn't able to do it in a simple way because i kept finding problems and i assumed it was some minor telerik object bugs. But then i found out that some of the bugs weren't simple to fix because the fix would impact the program performance. So i created a program from scratch to see if the problem was in my program (i could be doing something wrong since it hd a lot of code) but i came to the conclusion that this problem is actually because of the theme and not mine or the programs fault.

When i use a radgridview and change the font to a higher size (ex: 27) some of the text in the grid won't change if i'm using the theme 'TelerikMetroBlue'. But if i use the default theme 'Office2010Blue' the object works great.

Please check the attached images.

Note: I'm only using a radgridview in this example but the problem was also detected in other objects, like radlistview and radganttview.

 

JP

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 10 Jun 2024, 08:02 AM

Hello, João,

I would like to note that different themes in Telerik UI for WinForms suite have quite different settings applied to achieve the desired visual appearance in controls. Hence, it is normal if some visual settings such as font, font size, colors, etc. to work well in one theme but are not working as expected in another. Similar as the behavior that you described. 

Indeed, changing the font for a whole complex control such as RadGridView, RadGanttView, and others is not an easy task bevause they have many elements in their internal structures. You might need to use formatting events to style different elements or modify the theme in Vusual Style Builder according to your needs.

I would recommend you to refer to the following KB article for more information on this topic: How to Change the Font of Telerik RadControls - Telerik UI for WinForms

I hope this information is useful. Please let me know if you have other questions.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Form GridView Themes and Visual Style Builder
Asked by
João
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or