changeset 123:0f2c75af06d6

RT-16482: Simple TableView operations are inefficient (Disabled duplicate calls to layoutChildren() in VirtualFlow)
author jgiles
date Thu, 08 Dec 2011 12:25:17 +1000
parents 1426b6d5b791
children 667124e26056
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/VirtualFlow.java
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/VirtualFlow.java	Thu Dec 08 10:59:45 2011 +1000
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/VirtualFlow.java	Thu Dec 08 12:25:17 2011 +1000
@@ -1145,15 +1145,15 @@
         updateScrollBarsAndViewport(lastViewportLength);
     }
 
-    @Override protected void setWidth(double value) {
-        super.setWidth(value);
-        layoutChildren();
-    }
-    
-    @Override protected void setHeight(double value) {
-        super.setHeight(value);
-        layoutChildren();
-    }
+//    @Override protected void setWidth(double value) {
+//        super.setWidth(value);
+//        layoutChildren();
+//    }
+//    
+//    @Override protected void setHeight(double value) {
+//        super.setHeight(value);
+//        layoutChildren();
+//    }
 
     private void updateScrollBarsAndViewport(double lastViewportLength) {
         // Assign the hbar and vbar to the breadthBar and lengthBar so as