I think we should have a comparable one in spark. A stroke and a shadow. Padding outside the lines would be great so these could be more easily used as a separator.
-Mark -----Original Message----- From: Alex Harui [mailto:aha...@adobe.com] Sent: Tuesday, February 26, 2013 3:07 PM To: dev@flex.apache.org Subject: Re: VRule and HRule On 2/26/13 11:11 AM, "Harbs" <gavha...@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