• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[SOLVED] Change grid font size CSS ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Change grid font size CSS ?

    I have a style sheet in my app. I know the file is defined correctly because in one of my grids I do a getRowClass function to bold a total row and it works. What's not working is that I thought if I put

    .x-body {
    font-size: 9px;
    }

    this would change the default font size for the entire app.

    I also tried
    .x-grid-cell{
    font-size: 9px;
    }
    it doesn't work either.

    Is that not correct or is there something else I need to do as well?

  • #2
    Try...

    Code:
    .x-grid-row .x-grid-cell {
        font: normal 9px/15px tahoma,arial,verdana,sans-serif;
    }

    Comment


    • #3
      http://skirtlesden.com/articles/styl...tjs-grid-cells
      This is an excellent article on styling grids...really helped me.

      Comment


      • #4
        The grid cells are styling fine.. I'm trying to get the font for the entire page, all cells, panels, titles, etc, etc.. to be the same font size. thought it could be done globally, but maybe not..

        thanks for that article.. it is a good one..

        Comment

        Working...
        X