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 Whitcomb (JIRA)" <ji...@apache.org> on 2012/07/27 23:44:34 UTC

[jira] [Commented] (PIVOT-679) TableViewImageCellRenderer should render disabled rows with an opacity of 0.5f

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

Roger Whitcomb commented on PIVOT-679:
--------------------------------------

The default TableViewCellRenderer definitely uses the disabled color for the text if the row is disabled.  And this includes the classes derived from it (Date, FileSize, Number) which don't override the "render" method.  The TableViewTextAreaCellRenderer uses a similar methodology, so it also uses the disabled color.  The checkbox renderer sets the enabled state of its checkbox, so that should work too.

So, it looks like this renderer is the only holdout.  Assigning this issue to me -- I have the code almost ready.
                
> TableViewImageCellRenderer should render disabled rows with an opacity of 0.5f
> ------------------------------------------------------------------------------
>
>                 Key: PIVOT-679
>                 URL: https://issues.apache.org/jira/browse/PIVOT-679
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Assignee: Chris Bartlett
>            Priority: Trivial
>             Fix For: 2.1
>
>
> All of the following renderers set the ImageView's opacity to 0.5f when the relevant item is disabled.   
> TableViewImageCellRenderer should do the same for consistency.
> ButtonDataRenderer
> LinkButtonDataRenderer
> ListViewItemRenderer
> MenuBarItemDataRenderer
> MenuItemDataRenderer
> TableViewHeaderDataRenderer 
> TreeViewNodeRenderer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira