You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/04/21 00:01:57 UTC

[jira] Resolved: (PIVOT-472) Rename alternateRowColor style to alternateRowBackgroundColor

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

Greg Brown resolved PIVOT-472.
------------------------------

    Resolution: Fixed

The "alternateRowColor" and "alternateItemColor" styles have been renamed. An "alternateRowColor" style to customize the foreground color isn't as straightforward, since renderers currently look at the "color" and "disabledColor" styles. Maybe this can be addressed in a future update.


> Rename alternateRowColor style to alternateRowBackgroundColor
> -------------------------------------------------------------
>
>                 Key: PIVOT-472
>                 URL: https://issues.apache.org/jira/browse/PIVOT-472
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-wtkx
>            Reporter: Greg Brown
>            Priority: Minor
>             Fix For: 1.5
>
>
> Also, add a new alternateRowColor style that will define the foreground color for alternate rows.
> Apply this change to both TerrraTableViewSkin and TerraListViewSkin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Resolved: (PIVOT-472) Rename alternateRowColor style to alternateRowBackgroundColor

Posted by Greg Brown <gk...@mac.com>.
I think it is OK to require developers to specify an alternate background color that is compatible with the current foreground color. From my experience, that's the common case, anyways.

On Apr 20, 2010, at 6:22 PM, Sandro Martini wrote:

> Hi Greg,
> a quick note on this (maybe for a later release):
> add a style flag that say "always use the opposite color (of the
> background)" for the foreground, to ensure that labels etc will always
> be readable ?
> 
> Bye,
> Sandro


Re: [jira] Resolved: (PIVOT-472) Rename alternateRowColor style to alternateRowBackgroundColor

Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,
a quick note on this (maybe for a later release):
add a style flag that say "always use the opposite color (of the
background)" for the foreground, to ensure that labels etc will always
be readable ?

Bye,
Sandro