flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: VRule and HRule
Date Tue, 26 Feb 2013 20:06:41 GMT



On 2/26/13 11:11 AM, "Harbs" <gavharbs@gmail.com> wrote:

> While going through the mx components I'm trying to remove, I'm looking into
> HRule and VRule.
> 
> For my purposes it's simple enough to just draw some lines, but I figured I'd
> look into what's necessary to create Spark versions.
> 
> Looking at the HRule and VRule classes, it seems to me that all that's really
> needed is to copy the mx components and just change the package to spark. It's
> based on UIComponent which Spark components are also based on.
> 
> Am I missing something?
> 
> Also, is it really necessary to base HRule and VRule off UIComponent, that's a
> lot of dependent code there for a very simple componentÅ 
> 
Vrule and Hrule either have to be IUIComponents or be based of the graphic
primitives like Line otherwise it may not work like you want in MXML.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message