1 Reply Latest reply on Mar 17, 2008 11:30 AM by ntsiii

    label size

      I have a custom UIComponent that has a label as a child. I set the text of the label and I want it to autosize. I'm positioning the label in the updateDisplayList method, but I'm never touching the width or height. It seems to set these to 0, even though there is text in there. What am I doing wrong?
        • 1. Re: label size
          ntsiii Level 3
          Probably your best bet is to look at the Label.as code itself. You might have to work with the measure() call.

          Also, check out the Yahoo groups "flexcomponents" It is specifically aimed at developing custom components.