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

GridView's default font issue in Office2010Black theme solved

1 Answer 71 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Jürgen
Top achievements
Rank 1
Jürgen asked on 05 Nov 2017, 04:16 PM

Hello,

I encountered the following issue (and found a solution) with GridView when using the Office2010Black theme:

When the font of the parent form (RadForm) was set to let's say Segoe UI; 9,75pt; style=Bold and this form contained a RadGridView, then the font of the GridView root element even got this font settings and thus all texts of the grid view were displayed in the font of the parent window with the following visual result:

.http://www.incosol.de/images/TestProgWhIssue.gif

Reason:

In the RootRadElement of the RadGridView the Font property wasn't set to a specific text repository.

http://www.incosol.de/images/StyleBuilderOriginalThemeSettings.gif

Solution:

The font property of the RootRadElement of the RadGridView has to be set to a specific text repository.

http://www.incosol.de/images/StyleBuilderCorrectedThemeSettings.gif

Result:

http://www.incosol.de/images/TestProgWhOutIssue.gif

 

Regards,

Jürgen

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 06 Nov 2017, 01:55 PM
Hi Jurgen,

When there are no explicit settings the properties values are inherited from their parent. This is the default behavior. Your solution is correct and explicitly setting the font will have the desired effect. Thank you for sharing your solution with the community. 

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Themes and Visual Style Builder
Asked by
Jürgen
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or