GridView's default font issue in Office2010Black theme solved

2 posts, 0 answers
  1. Jürgen
    Jürgen avatar
    6 posts
    Member since:
    May 2014

    Posted 05 Nov 2017 Link to this post

    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

     

  2. Dimitar
    Admin
    Dimitar avatar
    2726 posts

    Posted 06 Nov 2017 Link to this post

    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.
Back to Top