[ 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/5/14 2:43 PM: -------------------------------------------------------------- Changes like this need to be done even in TerraPaletteSkin: ok, done. And even in TerraMeterSkin: ok, done. was (Author: smartini): Changes like this need to be done even in TerraPaletteSkin. > 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 > 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)