How is it coded  - what are the simple rules to follow when using
scale-9? Is there any reference?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Yeah, that's the way it is coded right now.  It might change before Flex
> 3 ships, but don't count on it
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of polestar11
> Sent: Wednesday, January 09, 2008 5:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How does scale-9 placement affect the size of a
> border-skin?
> 
>  
> 
> Hi there
> 
> I've created some custom skins for various components, eg.
> Canvas.borderSkin & myTabStyleName.upSkin. I find that the placement
> of the scale-9 grid lines affects the size of the way the component
> renders the skin and sometimes even the component size.
> 
> For example ... if I place the scale-9 horizontal lines of the swf
> resource for 'myTabStyleName' upSkin very close together in the
> centre, it doubles the size of my tab button. Similarly, for a canvas,
> when setting the borderSkin style, there might be a small bit of the
> skin asset stretching over the component size, or sometimes doesnt
> fill it completely, depending on where the scale-9 lines are placed.
> 
> I have manged to tweak the various skins so that the scale-9 grid
> placement results in the correct rendering, but this is a very tedious
> process. And I have had to do this all over again, after upgrading to
> the new Flex 3 Beta 3. It would really help to know how scale-9
> placement affects border calculations. Does anyone know anything more
> about this, or if there are any in-depth resources on this topic?
> 
> Cheers
> Tracy
>


Reply via email to