--- In [email protected], "Troy Gilbert" <[EMAIL PROTECTED]> 
wrote:
>
> I'm not sure if it applies in this case, but TileList definitely has
> some bugs in its measuring and layout code (or at least did in Flex 2
> -- not sure if they fixed it). In particular, when calculating its
> preferred width it basically does (itemRenderer.width + horizontalGap)
> * numColumns. That's one extra horizontalGap in there... possible the
> extra space you're seeing on the end?
> 
> In several pixel-perfect layouts I've had to actually *not* use
> TileList because of the bug... though at the time I wasn't aware of
> the technique of monkey-patching (where if you create a class in the
> project that matches a class in the SDK the project class overwrites
> it), which would eliminate the need to modify the SDK source (which I
> generally avoid).

I couldn't find a horizontalGap property on TileList, and trying to 
manually add a tag when the code hinting said no just resulted in a 
compiler error.

Could you tell me a bit more about monkey patching?  Where does the 
file need to be, and how do you get it to be picked up as if it were in 
the mx namespace?

Thanks;

Amy

Reply via email to