You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Lee Whitcomb (Jira)" <ji...@apache.org> on 2021/03/13 03:47:00 UTC

[jira] [Resolved] (PIVOT-1053) Add "putStyle" methods to Component to make setting styles less verbose

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

Roger Lee Whitcomb resolved PIVOT-1053.
---------------------------------------
    Resolution: Fixed

Completed -- all new code added in Component, and all other code changed to use the new methods as applicable.

> Add "putStyle" methods to Component to make setting styles less verbose
> -----------------------------------------------------------------------
>
>                 Key: PIVOT-1053
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1053
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Roger Lee Whitcomb
>            Assignee: Roger Lee Whitcomb
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The normal code right now is:
> {{getStyles().put(...)}}
> whereas with this method we get:
> {{putStyle(...)}}
> which is both shorter and cleaner, and more clear as to what is going on.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)