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 Wed, 27 Feb 2013 19:29:44 GMT

On 2/27/13 10:52 AM, "Harbs" <gavharbs@gmail.com> wrote:

> So you think there should be a separate H/VRule and H/VRuleSkin?
Not really, I was just pointing out the Spark-thinking.  That would be so
heavy, it really wouldn't be practical, but it sure would be powerful.
> Is it really necessary to have it fully skinnable?
No, just thinking out loud.  But if it isn't skinnable and goes in
spark.components then it isn't "consistent".
> I was just thinking of allowing to specify an alternate stroke (for gradients,
> etc) and allow all the standard filters, etc.
> By default it would have a solid stroke, and you'd just specify the weight
> along with the width and height of the component.
So if you do that (which is a reasonable thing to do), keep in mind that if
you have a weight property, then it doesn't make sense to have a replaceable
stroke for which the weight property may not apply.

If it were me, I'd probably call it SolidLine instead of Rule and put it in
the graphics package so folks know it isn't skinnable, and not allow
replacing of the stroke.  I think that would hit the 80% case.

> Harbs
> On Feb 27, 2013, at 7:07 PM, Alex Harui wrote:
>> Yep, but the Spark philosophy might lean away from such "intelligence" and
>> styles and head towards skinning.
>> On 2/27/13 8:56 AM, "Kessler CTR Mark J" <mark.kessler.ctr@usmc.mil> wrote:
>>> Here is a link to the HRule and VRule.  While these are the MX versions,
>>> they
>>> do have a good picture that shows what it can do under the sections "Sizing
>>> HRule and VRule controls"
>>> http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-
>>> 7d
>>> 96.html
>>> -Mark
>> -- 
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message