changeset 1041:bdef141ae0e6

RT-21500: TableView: Very thin area for resize of the last column
author jgiles
date Mon, 14 May 2012 13:52:20 +1200
parents bb65505b749f
children 9f011a950136
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TableHeaderRow.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TableHeaderRow.java	Fri May 11 12:19:05 2012 +1200
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TableHeaderRow.java	Mon May 14 13:52:20 2012 +1200
@@ -226,7 +226,6 @@
 
         // the header lives inside a NestedTableColumnHeader
         header = new NestedTableColumnHeader(table, null);
-        getChildren().add(0, header);
         header.setFocusTraversable(false);
         header.setTableHeaderRow(this);
 
@@ -278,7 +277,7 @@
         // the region that is anchored above the vertical scrollbar
         // a 'ghost' of the header being dragged by the user to force column
         // reordering
-        getChildren().addAll(filler, cornerRegion, dragHeader);
+        getChildren().addAll(filler, header, cornerRegion, dragHeader);
     }