Author: rwhitcomb
Date: Fri Jul 27 22:05:48 2012
New Revision: 1366556

URL: http://svn.apache.org/viewvc?rev=1366556&view=rev
Log:
Merge revision 1366553 from trunk to 2.0.x branch.

PIVOT-679: TableViewImageCellRenderer should render disabled rows with opacity 
0.5f.


Modified:
    
pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java

Modified: 
pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java
URL: 
http://svn.apache.org/viewvc/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java?rev=1366556&r1=1366555&r2=1366556&view=diff
==============================================================================
--- 
pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java
 (original)
+++ 
pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java
 Fri Jul 27 22:05:48 2012
@@ -80,6 +80,7 @@ public class TableViewImageCellRenderer 
             }
 
             setImage(image);
+            getStyles().put("opacity", disabled ? 0.5f : 1.0f);
         }
     }
 


Reply via email to