17 Replies Latest reply on Apr 16, 2009 12:07 PM by Devin Columbus

    Application Height after dynamically adding components

    Devin Columbus

      Yes I know that there are similar question posted here on the forums, but I believe this is slightly more unique...


      My application is width=100% height=100% ... I have a series of VBox's and HBox's as well as a main ViewStack component on the stage.


      Once my application loads, I load in some xml, populate some custom components with that XML data and then add those components to the stage at runtime... the issue I'm experiencing is that the ViewStack resizes itself, NOT the application... I want the viewstack to be 100% by 100%, but I don't want it to ever have scrollbars. Rather, I would like the Application to scroll... like a normal website.


      Do I need to register the fact that there is new content added to the stage that the Application now has to register?