diff --git a/gemsfx/src/main/java/com/dlsc/gemsfx/skins/YearViewSkin.java b/gemsfx/src/main/java/com/dlsc/gemsfx/skins/YearViewSkin.java index 13bdba34..1e094695 100644 --- a/gemsfx/src/main/java/com/dlsc/gemsfx/skins/YearViewSkin.java +++ b/gemsfx/src/main/java/com/dlsc/gemsfx/skins/YearViewSkin.java @@ -91,7 +91,7 @@ public YearViewSkin(YearView yearView) { Rectangle clip = new Rectangle(); clip.widthProperty().bind(yearView.widthProperty()); clip.heightProperty().bind(yearView.heightProperty()); - yearView.setClip(clip); + header.setClip(clip); InvalidationListener buildGridListener = obs -> buildGrid(); yearView.valueProperty().addListener(buildGridListener);