0 Replies Latest reply on May 7, 2012 2:44 PM by Zolotoj

    Groups's percentWidth

    Zolotoj Level 3

      Here is my simplified code:

      public class FieldLabel extends Group

      {

        public function FieldLabel()

        {

                                    super();

                                    super.percentWidth = 100;

                                    this.direction = "vertical";

        }

      and implementation:

      <FieldLabel>

                                              <someContainer/>

      </FieldLabel>

      What do I do to have FieldLabel as wide as needed to show someContainer without any wrapping?

       

      <FieldLabel width="100%">

        <someContainer/>

      </FieldLabel>

       

      helps, but that is not what I would want.

       

      Thanks