2 Replies Latest reply on Apr 3, 2009 7:06 AM by Newsgroup_User

    rotation and container

    flexie1
      I have a combo box which i have rotated 270 degrees so that it is now vertical. Unfortunately the parent container (have tried with a Vbox, HBox and Canvas) does not recognize the height and width of the rotated combo box, and keeps the size according to the standard (horizontal) combo box. therefore there is a large space to accomodate the combo box when instead thespace should be narrow to accomodate the vertical combo. Any ideas how to go about this? Aboslute x y coordinates is a solution but am trying to avoid that so that resizing the screen doesnt cut off the combo box. please help!!!
        • 1. Re: rotation and container
          Gregory Lafrance Level 6
          You may need to set this property:

          includeInLayout="false"

          That way the container does not try to resize/reposition as is its default behavior.
          • 2. Re: rotation and container
            Level 7

            "Greg Lafrance" <webforumsuser@macromedia.com> wrote in message
            news:gr3dft$ike$1@forums.macromedia.com...
            > You may need to set this property:
            >
            > includeInLayout="false"
            >
            > That way the container does not try to resize/reposition as is its default
            > behavior.

            If you want it included in the layout, you'll need to extend ComboBox and
            override the measure() method to switch the width and height.

            HTH;

            Amy