4 Replies Latest reply on Jun 19, 2009 9:12 PM by kingquattro

    fix panel size

    kingquattro Level 1

      Hey guys,

         I have a panel that get is't height set to 100%.  Now with in the Panel either a DataGrid or a VBox get loaded based on which action was activated/heared.  When a DataGrid action is heard, DataGrid gets placed in the Panel, and a scroll bar appears in the DataGrid so my Panel height remains the same, which is good, exactly as I wanted.  But if a VBox get loaded, my panel height increases, and a scorll bar appears outside the panel, not want I want.  I want the panels height to remain the same, and scroll only the vbox not entire panel.  Any suggestions?? All my data gets loaced via actionscript on run time, the Panel is empty other wise, and I am using CreationComplete to register my actionListners.

       

      Thank you

      Jaysheel