modules/controls/src/main/java/javafx/scene/control/skin/TableColumnHeader.java

Print this page

        

@@ -361,11 +361,11 @@
             resize(getTableColumn().getWidth(), getHeight());
             isSizeDirty = false;
         }
 
         double sortWidth = 0;
-        double w = snapSize(getWidth()) - (snappedLeftInset() + snappedRightInset());
+        double w = snapSizeX(getWidth()) - (snappedLeftInset() + snappedRightInset());
         double h = getHeight() - (snappedTopInset() + snappedBottomInset());
         double x = w;
 
         // a bit hacky, but we REALLY don't want the arrow shape to fluctuate
         // in size