0 Replies Latest reply on Oct 16, 2007 2:34 AM by blitzlon

    Dynamic Font Size / Panel Width

    blitzlon
      Hi, im new to Flex and so have no idea how this feature may work. I have a canvas with a set width of 200px high and 200px wide. I have a textfield within this canvas that is updated from an external source which works fine. I have a Hslider which controls the font size which also works. However, obviously if the font size is too big it will go outside the canvas and cant be seen. I need some dynamic way of the font size not being able to go bigger than the canvas if that makes sense. If the text within the canvas said "FLEX" for example, you could get a bigger font size than you would the text "ADOBE FLEX". The more text the smaller the font will have to be which is fine, but it must stay within the canvas and not wrap. Thanks in advance.