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

Oliver Oyston commented on PIVOT-935:
-------------------------------------

The new 'messageBorderColor' and 'messageBorderBackgroundColor' styles are 
exposed to allow custom styling. The use-case I am addressing is allowing the 
TerraAlertSkin class to be extended and the subclass being able to set the 
relevant colors in the constructor.


> Allow styling of alerts without needing to globally amend theme colors
> ----------------------------------------------------------------------
>
>                 Key: PIVOT-935
>                 URL: https://issues.apache.org/jira/browse/PIVOT-935
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-terra
>    Affects Versions: 2.1
>         Environment: Any
>            Reporter: Oliver Oyston
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: patch.diff
>
>
> For our custom application we would like more control over the look and feel 
> of the pivot alerts.
> Currently, to change the alert border colors you must globally change the 
> Pivot theme colors - this has knock on effects to other Pivot UI.
> It would be useful, as a minimum, if the alert message border color / 
> background colors are exposed. This would allow us to override the default 
> colors globally for our application.
> I have made the required changes to trunk and will submit a proposed patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to