You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2014/08/06 12:31:11 UTC

[jira] [Resolved] (PIVOT-955) Flag in Skin to draw flat components

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

Sandro Martini resolved PIVOT-955.
----------------------------------

    Resolution: Fixed

Resolved, because now all components seems ok.
Be free to reopen in case something should happen, or there is something to improve on them (with the flat mode enabled, or even if disabled).

> Flag in Skin to 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
>             Fix For: 2.1
>
>         Attachments: PIVOT-955 - transparency_for_alerts_dialogs.patch, Pivot - ColorSchemeBuilder, some Components without border - screenshot.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
> Inspiration Graphics here:
> https://material.angularjs.org/
> http://getbootstrap.com/examples/theme/



--
This message was sent by Atlassian JIRA
(v6.2#6252)