8 Replies Latest reply on Jul 10, 2008 8:01 AM by Developer504

    Changing font based on resolution of client machine

    Developer504 Level 1
      I have a Flex app in deployment now which resizes depending on the size of the clients screen. One screen it runs on is a huge 48" flat screen, and it also needs to run on various small laptops etc.

      The resizing works great, but I would like to also change the fonts based on the resolution of the client machine. I have two questions:

      1) Is there a way to detect that in Flex,
      2) How do you dynamically set the font on barcharts and datagrids, can you just refer to a function instead of a variable, or do you need to use some kind of special method like "fontFormula" or something?

      M.