5 Replies Latest reply on Jul 24, 2007 10:22 AM by fourevermi

    Setting height in Flex 2

    fourevermi
      I'm trying to follow this tutorial ( http://www.adobe.com/devnet/flex/articles/datamodel.html), but I'm getting stuck at the part where it tells me to set the height of the Panel:

      <mx:Panel id="empPanel" title="Employee Data" height="{engPanel.height+supPanel.height}">

      The compiler complains when I try to set the height that way, though it's fine if I use something like height="100". Does anyone know if something changed in Flex 2 to make this not work and what the correct syntax is?

      Thanks,
      Christine