changeset 1694:5f29560326e8

RT-24450: Pagination control buttons are not centered and are also missing the navigation arrows.
author jgiles
date Tue, 28 Aug 2012 08:38:39 +1200
parents d74367c184b5
children 9d0822d9d338
files javafx-ui-controls/src/javafx/scene/control/Control.java
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/control/Control.java	Sun Aug 26 23:03:28 2012 +0100
+++ b/javafx-ui-controls/src/javafx/scene/control/Control.java	Tue Aug 28 08:38:39 2012 +1200
@@ -39,10 +39,7 @@
 import javafx.beans.property.SimpleObjectProperty;
 import javafx.beans.property.StringProperty;
 import javafx.beans.value.WritableValue;
-import javafx.geometry.BoundingBox;
-import javafx.geometry.Bounds;
 import javafx.scene.Node;
-import javafx.scene.Parent;
 import javafx.scene.layout.Region;
 
 import com.sun.javafx.logging.PlatformLogger;
@@ -220,12 +217,12 @@
             // next time they are requested.
             styleableProperties = null;
             
-            // calling impl_processCSS(true) as the styleable properties may now
+            // calling impl_reapplyCSS() as the styleable properties may now
             // be different, as we will now be able to return styleable properties 
-            // belonging to the skin. If impl_process(true) is not called, the 
+            // belonging to the skin. If impl_reapplyCSS() is not called, the 
             // impl_getStyleableProperties() method is never called, so the 
             // skin properties are never exposed.
-//            impl_processCSS(true);
+            impl_reapplyCSS();
 
             // DEBUG: Log that we've changed the skin
             final PlatformLogger logger = Logging.getControlsLogger();