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] [Updated] (PIVOT-955) Flag in Skin to better draw flat components
Date Thu, 31 Jul 2014 13:15:39 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sandro Martini updated PIVOT-955:
---------------------------------

    Description: 
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


  was:
To easily implement custom styles more "flat", a new style property like noBorder (or similar)
could be useful to tell the skin to not draw borders around components.
But to be simple to use, try to provide a global property (in skin configuration files) so
skin customizations could set it when needed, and then refine in single components where needed.

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



> 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
(v6.2#6252)

Mime
View raw message