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/01 16:02:38 UTC

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

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

Sandro Martini commented on PIVOT-955:
--------------------------------------

All components now should be ok (and committed), maybe only some minor tweaks (only when flat mode is enabled) in borders of Progress bars, and maybe in Form messages (do not draw the border around message text, but instead change the color of the text or the background with the same color). See today's updated screenshot for reference. Comments ?

Last, I prototype a small change (but this time not only for flat mode) in Alerts/Dialogs/Palette:
set their background a little transparent (235 instead of 255=no transparency), the same of Sheets and Prompts ... patch in attach. What do you think ? Unless objections in a few days I'll commit even this.

> 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
> Inspiration Graphics here:
> https://material.angularjs.org/
> http://getbootstrap.com/examples/theme/



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