0 Replies Latest reply on May 9, 2007 4:13 PM by cbarbara

    Canvas scrolling and component layout

    cbarbara
      I've been trying to have a Panel always be 10 pixels from the right and 10 pixels from the bottom of the canvas it is in. I know it is simple to do with the bottom and right styles/properties. But I can't get that panel to stay at the bottom right when I scroll the canvas.

      When I add another component to canvas that is partially off the edge of the canvas, the canvas' scrollbars appear. When I scroll horizontally I expected the Panel to scroll with me and always stay close to the right border, this did not happen.
      Does anyone know how I can accomplish this?

      I created a little demo app to try and explain my problem. It is available at http://www.cs.rit.edu/~cxb0025/flex/CanvasScrollBars.html and http://www.cs.rit.edu/~cxb0025/flex/CanvasScrollBars.mxml .

      Thanks,
      Chris