Results 1 to 2 of 2

Thread: TreeGrid recursively size font in CSS

  1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    56
    Vote Rating
    0
      0  

    Default TreeGrid recursively size font in CSS

    I want to style my TreeGrid such that if a parent div's font-size increases by .5em, all of the TreeGrid components' font size increase within their factor of that .5em. So far, I have called setStyleName("default-font") on the following items:

    Labels produced by the cell renderer
    the treeGrid itself
    the treeGrid's columnconfigs (well I called setStyle("font-size:1em") on these because there was no setStyleName for it)


    where in my CSS document I define
    Code:
    default-font {
         font-size:1em;
    }
    I cannot find anything else in the TreeGrid object that I can call setStyleName on...

  2. #2
    Ext User
    Join Date
    Jul 2009
    Posts
    56
    Vote Rating
    0
      0  

    Default

    This post reflects my CSS imcompetence at the time...
    I ended using firebug and figuring out what CSS classes needed to include font-size: 1em and added entries to my CSS file manually for each of these.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •