Author: rwhitcomb Date: Fri Jul 27 22:03:01 2012 New Revision: 1366553 URL: http://svn.apache.org/viewvc?rev=1366553&view=rev Log: PIVOT-679: TableViewImageCellRenderer should render disabled rows with opacity 0.5f.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java?rev=1366553&r1=1366552&r2=1366553&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java Fri Jul 27 22:03:01 2012 @@ -80,6 +80,7 @@ public class TableViewImageCellRenderer } setImage(image); + getStyles().put("opacity", disabled ? 0.5f : 1.0f); } }