changeset 5635:1c3b39a00d7e

RT-33596 TableHeaders behave badly when horizontal scrollbar is visible Reviewed by: jgiles
author Martin Sladecek <martin.sladecek@oracle.com>
date Tue, 05 Nov 2013 12:00:39 +0100
parents a562ec0058ee
children 89b46b3257cb
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/NestedTableColumnHeader.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/NestedTableColumnHeader.java	Tue Nov 05 11:10:48 2013 +0100
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/NestedTableColumnHeader.java	Tue Nov 05 12:00:39 2013 +0100
@@ -291,6 +291,11 @@
         
         // update the content
         updateContent();
+        
+        // RT-33596: Do CSS now, as we are in the middle of layout pass and the headers are new Nodes w/o CSS done
+        for (TableColumnHeader header : getColumnHeaders()) {
+            header.impl_processCSS(false);
+        }
     }
     
     @Override void dispose() {