Hello All-

I feel like I'm missing something completely obvious, so forgive me if
it is.

I have a custom component (HBox) that is set at 200x100
(maxWidth/maxHeight also set at that value).  I have
horizontalScrollPolicy="on".  On creationComplete, I run a routine
that draws a rectangle 400x100 (using graphics.lineTo).  Instead of
conforming to the container, it bleeds all the way over, onto the
parent application, etc.

How do I constrain the graphic to stay in its container and not
overflow; and if it does overflow, give it some horizontal scrollbars.
 Any ideas?

Thanks all...

- Kevin

Reply via email to