Hi Guy,
There is no logic in the divider container that checks the minimum width or
height of the dividers relative to the size of their container.

I don't think this is to weird on Adobe's part since they usually have a
policy (unwritten) that chrome is not part of the measurement algorithm. The
dividers are considered chrome and exist in their own UIComponent layer .

You probably could subclass and add this measurement but it's not that easy
since the DividedBox by nature does not like calling measure(). They do this
for performance and relates to their layout implementation.

Mike

On Tue, Oct 21, 2008 at 6:14 PM, Guy Morton <[EMAIL PROTECTED]> wrote:

>   Hello
>
> If I use dividerSkin to set the skin of a HDividedBox to an image
> file, and the HDividedBox sits inside a VDividedBox, and the image
> file I'm using for the skin is wider than the HDividedBox, the skin
> image is drawn over the content in the other pane of the VDividedBox,
> ie it is not truncated to fit within the bounds of the HDividedBox.
>
> This seems very wrong to me. I've tried using clipContent=true but
> that makes no difference. I've also tried using a vector-based SVG
> image as the skin, but that doesn't help either.
>
> Am I doing something wrong or is Flex just a bit stoopid in this
> regard? What possible justification could there be for a HDividedBox
> with a custom skin to allow it's custom divider to be drawn outside
> it's own bounds?
>
> Guy
>  
>



-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to