1 Reply Latest reply on Aug 23, 2006 12:49 PM by peterent

    In Flex, mimic a HTML DIV-tag without height constraint?

    Sterol
      Hi!

      I've posted a somewhat similar question here before and although the answer was appreciated I'm still wondering if what I want to do is possible.

      In HTML you can create a DIV-tag with a fixed width, say 100px. If you, after that, let the height remain undefined, you can add content to the tag having it expand it's height appropriately.

      Is it possible to achieve the same effect in Flex, or do I have to have fixed width and height on the application? If I let the application have a width of 100px, letting the height be undefined, I get the application to be the same height as the browser window which is not the case with the DIV-tag above.

      Hope someone understands what I mean. Thanks!


      /Marcus