Thanks for that info Alex. Among the billion other things I'd like to fix /
learn about, I'm thinking about going into StyleManagerImpl and poking
around, is there a publicly available jira task for that feature I can
watch?

-Josh

On Tue, Aug 26, 2008 at 2:30 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>  Multiple stylenames is on the schedule for the next major release.  I
> would worry about it hiccupping at the transition because an inheriting
> style recalc is not fast.
>
>
>
> Best performance would probably be achieved by having a minimum set of
> setStyle calls on the component, and removing or restoring those styles
> later.  I think we know you just twiddled the end of the inheritance chain
> and don't recalc the whole parent chain.  You could also override our style
> chain handling, but that's mx_internal and I'm considering changing it
> someday.
>
>
>  ------------------------------
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Monday, August 25, 2008 5:20 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* (bump) Re: [flexcoders] styling Flex - able to use multiple
> stylenames - styleName="styleA styleB" ?
>
>
>
> *Bump*
>
> Is there a good answer to this? I want to be able to generically add a
> "dragover" second stylename to a component, and remove it on drag-out
> without having to duplicated every stylename that can be dragged over (and
> also having nearly every style attribute listed twice, in .someComponent and
> .someComponent_over)...
>
> I suppose I could hook into the stylesheet mechanism at runtime and
> generate the second _over stylesheet? Has somebody done this before?
>
> -Josh
>
> On Thu, Dec 6, 2007 at 2:12 AM, sgarrity1 <[EMAIL PROTECTED]> wrote:
>
> In HTML, one can have multiple CSS Rules/classnames in one class
> declaration like:
>
> <p class="ruleA ruleB">example</p>
>
> From my testing, it seems this is not available in Flex. Is there any
> way to apply two separate CSS Rules to an element ?
>
> So this does not seem to work:
>
> <mx:VBox styleName="styleA styleB">example</mx:VBox>
>
> Thanks in advance for any tips
>
>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to