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:29:12 UTC

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

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

Sandro Martini edited comment on PIVOT-955 at 8/6/14 10:28 AM:
---------------------------------------------------------------

Changes like this need to be done even in TerraPaletteSkin: ok, done.
And even in TerraMeterSkin: ok, done.

Check if change Text color of messages (and no bordes) in TerraFormSkin when flat mode is enabled: no, because on these borders there is already the style property "showFlagHighlight", and there is no simple way to retrieve the Field related Label and change its color; without the border and without the label color change it would not be so good to see, so keep it as is.



was (Author: smartini):
Changes like this need to be done even in TerraPaletteSkin: ok, done.
And even in TerraMeterSkin: ok, done.

Check if change Text color of messages (and no bordes) in TerraFormSkin when flat mode is enabled.


> 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)