Grid font size and line height in MVC

1 Answer 5688 Views
Grid
Ian
Top achievements
Rank 2
Ian asked on 06 Aug 2013, 11:08 PM
I looked thru the ThemeBuilder but I can't edit the font and line height there.

Using the MVC Helper, can I specify the Line Height and Font Size of the text in the grid (header, body and footer) ?

I'm looking to get all the text and line height of the grid to be 75% of what there is there now natively.

Ian

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 08 Aug 2013, 07:09 PM
Hello Iam,

I am afraid Kendo UI ThemeBuilder does not provide such customization options, however you could easily achieve the desired result using custom CSS. For example:

.k-grid {
    font-size: 10px;
}
.k-grid td {
    line-height: 2em;
}
  Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Ian
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Share this question
or