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/12 20:50:00 UTC
[jira] [Created] (PIVOT-1053) Add "putStyle" methods to Component
to make setting styles less verbose
Roger Lee Whitcomb created PIVOT-1053:
-----------------------------------------
Summary: 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
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)