0 Replies Latest reply on Aug 30, 2007 12:10 PM by MyronCope

    My spacer is  not spacing

    MyronCope
      I have an HBox and I am adding a spacer but I am not seeing the spacing, i have another control that I add on the line after the spacing but I still see the next control against the left edge of the vbox. I am adding the controls dynamically in my actionscript. does anyone know what i am doing wrong here?

      <CODE>
      var spcrWidthCampDesc:Spacer = new Spacer();
      spcrWidthCampDesc.setStyle("width","20");
      hboxCampDesc.addChild(spcrWidthCampDesc);
      </CODE>