Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-955

Flag in Skin to draw flat components

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: wtk-terra
    • Labels:
      None

      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

      Inspiration Graphics here:
      https://material.angularjs.org/
      http://getbootstrap.com/examples/theme/

        Attachments

          Activity

            People

            • Assignee:
              smartini Sandro Martini
              Reporter:
              smartini Sandro Martini
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: