pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-955) Flag in Skin to better draw flat components
Date Thu, 31 Jul 2014 13:29:39 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080854#comment-14080854

Sandro Martini commented on PIVOT-955:

After this, I guess if another skin global flag could be useful: themeTransitionsEnabled (by
default true, as the cureent behavior), to disable all transitions when not needed (and without
having to set their delay/duration to zero) ... but this could become another issue.

> Flag in Skin to better draw flat components
> -------------------------------------------
>                 Key: PIVOT-955
>                 URL: https://issues.apache.org/jira/browse/PIVOT-955
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-terra
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>         Attachments: Pivot - ColorSchemeBuilder, some Components without border - prototype.png
> To easily implement custom styles more "flat", a new Skin (global) style property  themeIsFlat
could be useful to tell the skin to not draw some elements like: borders around components,
no gradients, no shadows.
> By default this is false, so the original behaviour is not changed.
> Check later if makes sense to add an additional property (but in any component) to let
him override this global setting (but at the moment I don't think it would be so useful).
> Original proposal here: http://apache-pivot-developers.417237.n3.nabble.com/New-style-attribute-for-do-not-draw-border-in-components-for-2-1-td4026771.html
> and some discussion here:
> http://apache-pivot-users.399431.n3.nabble.com/Fwd-New-style-attribute-for-do-not-draw-border-in-components-for-2-1-td4022976.html

This message was sent by Atlassian JIRA

View raw message