pivot-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvolk...@apache.org
Subject svn commit: r824346 - /incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
Date Mon, 12 Oct 2009 14:12:43 GMT
Author: tvolkert
Date: Mon Oct 12 14:12:43 2009
New Revision: 824346

URL: http://svn.apache.org/viewvc?rev=824346&view=rev
Log:
Invalidate the cached column widths array when the component is invalidated in TerraTableViewSkin

Modified:
    incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java

Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java?rev=824346&r1=824345&r2=824346&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
(original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
Mon Oct 12 14:12:43 2009
@@ -969,6 +969,12 @@
     }
 
     @Override
+    protected void invalidateComponent() {
+        super.invalidateComponent();
+        columnWidths = null;
+    }
+
+    @Override
     public boolean mouseMove(Component component, int x, int y) {
         boolean consumed = super.mouseMove(component, x, y);
 



Mime
View raw message