1 Reply Latest reply on Jan 21, 2013 3:37 PM by 984080

    Alternative for first-child and last-child

      Hi all,

      I am looking to style a ListView with rounded corners (similar to iOS), but so far, I have not been able to find a way to do this without first-child and last-child pseudoselectors, which are not supported in JavaFX, according to http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html.

      Simply setting rounded corners on a ListView causes the ListCells to pop out, unless I set rounded corners on them as well. But I only want to to this on the top and bottom child.

      Does anyone have a workaround for this ?