flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [Flex JS] Label's text gets trimmed
Date Fri, 17 Feb 2017 15:59:57 GMT

On 2/17/17, 12:22 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com> wrote:

>Aside from the problem begin discussed, I continue thinking that generated
>code should not have the verbose hardcoded styles that is shown and should
>be created as CSS. I think for various reasons.
>1.- I don't like CSS hardcoded in control/view component in source code
>2.- that would make people unable to remove that code, and some people
>would want to do it.
>3.- the typical "separation of concerns" apply here perfectly
>It's only me? or nobody thinks that our output should not be so verbose?
>My bet would be to create some CSS styles that unifies that and apply it
>class selectors.
>Since js:Button or js:Container has a typedef of "Button" or "Container"
>classes respectively in css
>we can insert all this css styles in that rule.
>People nos wanting that styles can exclude default css with the compiler

+1 for moving more things to the Type selectors.  However, we still fiddle
with style at runtime for visible and layout.


View raw message